diff options
| author | 2018-07-31 03:03:23 +0100 | |
|---|---|---|
| committer | 2019-01-25 02:49:15 +0000 | |
| commit | 42046ac6d3e3203e786802e8e73e51de7579b668 (patch) | |
| tree | ba7848cdd922eb451eb05ec31a3f621a83854d0e /include | |
| parent | Replace the TR1NS macro with the std namespace. (diff) | |
| download | inspircd++-42046ac6d3e3203e786802e8e73e51de7579b668.tar.gz inspircd++-42046ac6d3e3203e786802e8e73e51de7579b668.tar.bz2 inspircd++-42046ac6d3e3203e786802e8e73e51de7579b668.zip | |
Remove the DEPRECATED_METHOD macro.
C++14 has [[deprecated]] which does the same thing as this.
Diffstat (limited to 'include')
| -rw-r--r-- | include/compat.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/compat.h b/include/compat.h index 9d3107a2c..13ce70ac0 100644 --- a/include/compat.h +++ b/include/compat.h @@ -59,18 +59,6 @@ #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. */ |
