]> git.tdb.fi Git - libs/core.git/blob - source/core/attributes.h
Move non-oneliner functions out of RefPtr class declaration
[libs/core.git] / source / core / attributes.h
1 #ifndef MSP_CORE_ATTRIBUTES_H_
2 #define MSP_CORE_ATTRIBUTES_H_
3
4 #if __cplusplus >= 201402L
5 #define DEPRECATED [[deprecated]]
6 #elif defined(__GNUC__)
7 #define DEPRECATED __attribute__((deprecated))
8 #elif defined(__MSC_VER)
9 #define DEPRECATED __declspec(deprecated)
10 #endif
11
12 #endif