From 42046ac6d3e3203e786802e8e73e51de7579b668 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 31 Jul 2018 03:03:23 +0100 Subject: [PATCH] Remove the DEPRECATED_METHOD macro. C++14 has [[deprecated]] which does the same thing as this. --- include/compat.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/compat.h b/include/compat.h index 9d3107a2c..13ce70ac0 100644 --- a/include/compat.h +++ b/include/compat.h @@ -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.