diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-11-17 16:57:30 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-11-17 16:57:30 +0000 |
commit | f2499612c5594944d3e0891259859668d35c85b2 (patch) | |
tree | 0672f579db91cfaca7a2935a86991fa67b5aae59 /lib/libconfig.h++ | |
parent | 429e46051dba814e7d6c74368eb1bba550222cbe (diff) | |
download | libconfig-f2499612c5594944d3e0891259859668d35c85b2.tar.gz |
Imported Upstream version 1.4.9upstream/1.4.9
Diffstat (limited to '')
-rw-r--r-- | lib/libconfig.h++ | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/libconfig.h++ b/lib/libconfig.h++ index dfc7939..04be7a9 100644 --- a/lib/libconfig.h++ +++ b/lib/libconfig.h++ @@ -41,7 +41,7 @@ #define LIBCONFIGXX_VER_MAJOR 1 #define LIBCONFIGXX_VER_MINOR 4 -#define LIBCONFIGXX_VER_REVISION 8 +#define LIBCONFIGXX_VER_REVISION 9 struct config_t; // fwd decl struct config_setting_t; // fwd decl @@ -86,7 +86,7 @@ class LIBCONFIGXX_API SettingTypeException : public SettingException public: - const char *what() const throw(); + virtual const char *what() const throw(); private: @@ -102,7 +102,7 @@ class LIBCONFIGXX_API SettingNotFoundException : public SettingException public: - const char *what() const throw(); + virtual const char *what() const throw(); private: @@ -118,7 +118,7 @@ class LIBCONFIGXX_API SettingNameException : public SettingException public: - const char *what() const throw(); + virtual const char *what() const throw(); private: @@ -129,7 +129,7 @@ class LIBCONFIGXX_API FileIOException : public ConfigException { public: - const char *what() const throw(); + virtual const char *what() const throw(); }; class LIBCONFIGXX_API ParseException : public ConfigException @@ -151,7 +151,7 @@ class LIBCONFIGXX_API ParseException : public ConfigException inline const char *getError() const throw() { return(_error); } - const char *what() const throw(); + virtual const char *what() const throw(); private: @@ -197,8 +197,7 @@ class LIBCONFIGXX_API Setting Setting(config_setting_t *setting); - void assertType(Type type) const - throw(SettingTypeException); + void assertType(Type type) const throw(SettingTypeException); static Setting & wrapSetting(config_setting_t *setting); Setting(const Setting& other); // not supported |