next: drop DISABLE_OPENCV_24_COMPATIBILITY

This commit is contained in:
Alexander Alekhin
2018-03-22 14:41:15 +03:00
parent 2d54fed3cc
commit 2b2fa58f97
9 changed files with 2 additions and 33 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ Cv64suf;
#define OPENCV_ABI_COMPATIBILITY 400
#ifdef __OPENCV_BUILD
# define DISABLE_OPENCV_24_COMPATIBILITY
# define DISABLE_OPENCV_3_COMPATIBILITY
#endif
#ifdef CVAPI_EXPORTS
+1 -4
View File
@@ -281,10 +281,7 @@ struct Ptr
@note It is often easier to use makePtr instead.
*/
template<typename Y>
#ifdef DISABLE_OPENCV_24_COMPATIBILITY
explicit
#endif
Ptr(Y* p);
explicit Ptr(Y* p);
/** @overload
@param d Deleter to use for the owned pointer.
@@ -1244,8 +1244,4 @@ CV_EXPORTS int getThreadID();
} //namespace cv
#ifndef DISABLE_OPENCV_24_COMPATIBILITY
#include "opencv2/core/core_c.h"
#endif
#endif //OPENCV_CORE_UTILITY_H