Remove the DEPRECATED_METHOD macro.

C++14 has [[deprecated]] which does the same thing as this.
This commit is contained in:
Sadie Powell 2018-07-31 03:03:23 +01:00
parent fb17bba197
commit 42046ac6d3

View File

@ -58,18 +58,6 @@
# define CXX11_OVERRIDE
#endif
/**
* This macro allows methods to be marked as deprecated. To use this, wrap the
* method declaration in the header file with the macro.
*/
#if defined __clang__ || defined __GNUC__
# define DEPRECATED_METHOD(function) function __attribute__((deprecated))
#elif defined _MSC_VER
# define DEPRECATED_METHOD(function) __declspec(deprecated) function
#else
# define DEPRECATED_METHOD(function) function
#endif
/**
* Windows is very different to UNIX so we have to wrap certain features in
* order to build on Windows correctly.