diff options
Diffstat (limited to 'src/enchant++.h')
-rw-r--r-- | src/enchant++.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/enchant++.h b/src/enchant++.h index 9d05825..7db635d 100644 --- a/src/enchant++.h +++ b/src/enchant++.h @@ -49,16 +49,14 @@ namespace enchant m_ex = ex; } - virtual ~Exception () throw() { + virtual ~Exception () noexcept { } - virtual const char * what () throw() { + virtual const char * what () const noexcept { return m_ex.c_str(); } private: - Exception (); - std::string m_ex; }; @@ -166,15 +164,6 @@ namespace enchant return m_provider_file; } - /* deprecated */ - void add_to_personal (const std::string & utf8word) { - return add (utf8word); - } - - /* deprecated */ - void add_to_pwl (const std::string & utf8word) { - return add (utf8word); - } private: // space reserved for API/ABI expansion |