mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-15 07:14:45 +02:00
Use macro for override
b/c MS VS2010 is supposed to be C++11 but does not fulfull the entire standard. Resolves #410. Re: #430.
This commit is contained in:
@@ -77,6 +77,12 @@
|
||||
|
||||
#endif // defined(_MSC_VER)
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 1600 // MSVC <= 2010
|
||||
# define JSONCPP_OVERRIDE
|
||||
#else
|
||||
# define JSONCPP_OVERRIDE override
|
||||
#endif // MSVC <= 2010
|
||||
|
||||
|
||||
#ifndef JSON_HAS_RVALUE_REFERENCES
|
||||
|
||||
|
Reference in New Issue
Block a user