1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Added CV_ALWAYS_INLINE macro

This commit is contained in:
Vitaly Tuzov
2019-01-11 22:40:35 +03:00
parent 78bd55c8df
commit ea882d58c6
2 changed files with 10 additions and 10 deletions
-10
View File
@@ -11,16 +11,6 @@
#include "opencv2/core/softfloat.hpp"
#ifndef CV_ALWAYS_INLINE
#if defined(__GNUC__) && (__GNUC__ > 3 ||(__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
#define CV_ALWAYS_INLINE inline __attribute__((always_inline))
#elif defined(_MSC_VER)
#define CV_ALWAYS_INLINE __forceinline
#else
#define CV_ALWAYS_INLINE inline
#endif
#endif
namespace
{