Merge pull request #478 from quantumsteve/msvc_override

Use override keyword with Visual Studio.
This commit is contained in:
Christopher Dunn 2016-05-28 10:01:46 -05:00
commit 43203f1d09

View File

@ -82,6 +82,8 @@
// managable and fixes a set of common hard-to-find bugs. // managable and fixes a set of common hard-to-find bugs.
#if __cplusplus >= 201103L #if __cplusplus >= 201103L
# define JSONCPP_OVERRIDE override # define JSONCPP_OVERRIDE override
#elif defined(_MSC_VER) && _MSC_VER > 1600
# define JSONCPP_OVERRIDE override
#else #else
# define JSONCPP_OVERRIDE # define JSONCPP_OVERRIDE
#endif #endif