mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Remove the DEPRECATED_METHOD macro.
C++14 has [[deprecated]] which does the same thing as this.
This commit is contained in:
parent
fb17bba197
commit
42046ac6d3
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user