mirror of https://github.com/libAthena/athena.git
Types: Remove unnecessary macros
These appear to be unused, and, with C++17, can be superseded with [[maybe_unused]] and [[deprecated]] attributes
This commit is contained in:
parent
8471a7e189
commit
f669191fcb
|
@ -31,16 +31,3 @@ struct atVec3d {
|
|||
struct atVec4d {
|
||||
athena::simd<double> 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
|
||||
|
|
Loading…
Reference in New Issue