From 5cc1ef9022964f100f65129c553329f8a2e8ac4d Mon Sep 17 00:00:00 2001 From: daB0bby Date: Thu, 11 Aug 2016 10:15:48 +0200 Subject: [PATCH] fix code-style consistency --- modules/core/include/opencv2/core/mat.inl.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/core/include/opencv2/core/mat.inl.hpp b/modules/core/include/opencv2/core/mat.inl.hpp index 2ba152f375..49ea17f485 100644 --- a/modules/core/include/opencv2/core/mat.inl.hpp +++ b/modules/core/include/opencv2/core/mat.inl.hpp @@ -680,7 +680,8 @@ void Mat::addref() CV_XADD(&u->refcount, 1); } -inline void Mat::release() +inline +void Mat::release() { if( u && CV_XADD(&u->refcount, -1) == 1 ) deallocate();