Skip to content

Commit

Permalink
Merge pull request #478 from quantumsteve/msvc_override
Browse files Browse the repository at this point in the history
Use override keyword with Visual Studio.
  • Loading branch information
cdunn2001 committed May 28, 2016
2 parents 4356d9b + 55176b2 commit 43203f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/json/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
// In c++11 the override keyword allows you to explicity define that a function
// is intended to override the base-class version. This makes the code more
// managable and fixes a set of common hard-to-find bugs.
#if __cplusplus >= 201103L
#if __cplusplus >= 201103L
# define JSONCPP_OVERRIDE override
#elif defined(_MSC_VER) && _MSC_VER > 1600
# define JSONCPP_OVERRIDE override
#else
# define JSONCPP_OVERRIDE
Expand Down

0 comments on commit 43203f1

Please sign in to comment.