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:
Christopher Dunn
2016-03-21 21:00:24 -05:00
parent 1c47796479
commit 98e981dff9
7 changed files with 20 additions and 14 deletions

View File

@@ -53,8 +53,8 @@ namespace Json {
class JSON_API Exception : public std::exception {
public:
Exception(JSONCPP_STRING const& msg);
~Exception() throw() override;
char const* what() const throw() override;
~Exception() throw() JSONCPP_OVERRIDE;
char const* what() const throw() JSONCPP_OVERRIDE;
protected:
JSONCPP_STRING msg_;
};