mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-16 07:23:43 +02:00
C++11: override keyword
Source : http://en.cppreference.com/w/cpp/language/override
This commit is contained in:
@@ -40,8 +40,8 @@ namespace Json {
|
||||
class JSON_API Exception : public std::exception {
|
||||
public:
|
||||
Exception(std::string const& msg);
|
||||
virtual ~Exception() throw();
|
||||
virtual char const* what() const throw();
|
||||
~Exception() throw() override;
|
||||
char const* what() const throw() override;
|
||||
protected:
|
||||
std::string const msg_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user