fix code-style consistency

pull/7090/head
daB0bby 9 years ago committed by GitHub
parent f210602d1e
commit 5cc1ef9022
  1. 3
      modules/core/include/opencv2/core/mat.inl.hpp

@ -680,7 +680,8 @@ void Mat::addref()
CV_XADD(&u->refcount, 1); CV_XADD(&u->refcount, 1);
} }
inline void Mat::release() inline
void Mat::release()
{ {
if( u && CV_XADD(&u->refcount, -1) == 1 ) if( u && CV_XADD(&u->refcount, -1) == 1 )
deallocate(); deallocate();

Loading…
Cancel
Save