diff --git a/utilite/include/rtabmap/utilite/UTimer.h b/utilite/include/rtabmap/utilite/UTimer.h index 876ababf..6120630d 100644 --- a/utilite/include/rtabmap/utilite/UTimer.h +++ b/utilite/include/rtabmap/utilite/UTimer.h @@ -81,7 +81,7 @@ public: * @return double the interval in seconds. * @deprecated use elapsed() instead. */ - DEPRECATED(double getInterval()); + UTILITE_DEPRECATED(double getInterval()); /** * This method is used to get the interval of diff --git a/utilite/include/rtabmap/utilite/UtiLiteExp.h b/utilite/include/rtabmap/utilite/UtiLiteExp.h index 333f5014..3a208ecf 100644 --- a/utilite/include/rtabmap/utilite/UtiLiteExp.h +++ b/utilite/include/rtabmap/utilite/UtiLiteExp.h @@ -34,12 +34,12 @@ #endif #ifdef __GNUC__ -#define DEPRECATED(func) func __attribute__ ((deprecated)) +#define UTILITE_DEPRECATED(func) func __attribute__ ((deprecated)) #elif defined(_MSC_VER) -#define DEPRECATED(func) __declspec(deprecated) func +#define UTILITE_DEPRECATED(func) __declspec(deprecated) func #else #pragma message("WARNING: You need to implement DEPRECATED for this compiler") -#define DEPRECATED(func) func +#define UTILITE_DEPRECATED(func) func #endif #endif