From 87b262325f068749e598cda6435c217bb2b4e470 Mon Sep 17 00:00:00 2001 From: kiritow <1362050620@qq.com> Date: Tue, 2 May 2017 12:26:17 +0800 Subject: [PATCH] use [[deprecated]] instead of attribute --- MiniEngine.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MiniEngine.h b/MiniEngine.h index d62b3f1..7898a89 100644 --- a/MiniEngine.h +++ b/MiniEngine.h @@ -20,8 +20,7 @@ #include #include -#define _DECL_DEPRECATED __declspec(deprecated) -#define _DECL_DEPRECATED_MSG(InfoString) __declspec(deprecated(InfoString)) +#define _DECL_DEPRECATED [[deprecated]] namespace MiniEngine {