COMP: Use C++11 override directly

The override support in C++11 is required so avoid aliasing
this feature.  Compilers that do not support the override keyword
are no longer supported.
This commit is contained in:
Hans Johnson
2019-01-11 13:58:53 -06:00
committed by Hans Johnson
parent 8b31c6f0fd
commit 2853b1cdac
7 changed files with 15 additions and 18 deletions

View File

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