change throw() to noexcept to conform to c++11

This commit is contained in:
Omkar Wagh
2016-11-07 13:57:00 -05:00
parent 0e24e3c64f
commit 91c1d23461
3 changed files with 11 additions and 5 deletions

View File

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