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 <functional>
#define _DECL_DEPRECATED __declspec(deprecated)
#define _DECL_DEPRECATED_MSG(InfoString) __declspec(deprecated(InfoString))
#define _DECL_DEPRECATED [[deprecated]]
namespace MiniEngine
{