Commit 84980741 authored by Alexander Alekhin's avatar Alexander Alekhin

core: add CV_OVERRIDE/CV_FINAL macros

parent 167034fb
...@@ -453,6 +453,30 @@ Cv64suf; ...@@ -453,6 +453,30 @@ Cv64suf;
#endif #endif
/****************************************************************************************\
* C++11 override / final *
\****************************************************************************************/
#ifndef CV_OVERRIDE
# ifdef CV_CXX11
# define CV_OVERRIDE override
# endif
#endif
#ifndef CV_OVERRIDE
# define CV_OVERRIDE
#endif
#ifndef CV_FINAL
# ifdef CV_CXX11
# define CV_FINAL final
# endif
#endif
#ifndef CV_FINAL
# define CV_FINAL
#endif
// Integer types portatibility // Integer types portatibility
#ifdef OPENCV_STDINT_HEADER #ifdef OPENCV_STDINT_HEADER
#include OPENCV_STDINT_HEADER #include OPENCV_STDINT_HEADER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment