use [[deprecated]] instead of attribute

This commit is contained in:
Kirigaya Kazuto 2017-05-02 12:26:17 +08:00
parent d43ecd4981
commit 87b262325f

View File

@ -20,8 +20,7 @@
#include <memory> #include <memory>
#include <functional> #include <functional>
#define _DECL_DEPRECATED __declspec(deprecated) #define _DECL_DEPRECATED [[deprecated]]
#define _DECL_DEPRECATED_MSG(InfoString) __declspec(deprecated(InfoString))
namespace MiniEngine namespace MiniEngine
{ {