From f669191fcb2a492ff944e400c7237b5854d1cb25 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 24 Aug 2019 02:31:08 -0400 Subject: [PATCH] Types: Remove unnecessary macros These appear to be unused, and, with C++17, can be superseded with [[maybe_unused]] and [[deprecated]] attributes --- include/athena/Types.hpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/athena/Types.hpp b/include/athena/Types.hpp index dc6ba27..bf82f5e 100644 --- a/include/athena/Types.hpp +++ b/include/athena/Types.hpp @@ -31,16 +31,3 @@ struct atVec3d { struct atVec4d { athena::simd simd; }; - -#ifndef UNUSED -#define UNUSED(x) ((void)x) -#endif // UNUSED - -#ifdef __GNUC__ -#define DEPRECATED(func) func __attribute__((deprecated)) -#elif defined(_MSC_VER) -#define DEPRECATED(func) __declspec(deprecated) func -#else -#pragma message("WARNING: You need to implement DEPRECATED for this compiler") -#define DEPRECATED(func) func -#endif