diff options
author | Dom Lachowicz <domlachowicz@gmail.com> | 2003-10-22 02:00:32 +0000 |
---|---|---|
committer | Dom Lachowicz <domlachowicz@gmail.com> | 2003-10-22 02:00:32 +0000 |
commit | 142ec05cbb207cedb33548b6bddfd362fc26232e (patch) | |
tree | cbbf912666502744d10e02b29dd1de4d5ba0739b | |
parent | 5a08a45e0e16d591dd0a83d55e30945cf3f3686d (diff) | |
download | enchant-142ec05cbb207cedb33548b6bddfd362fc26232e.tar.gz |
changed exception specifier
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@20884 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | src/enchant++.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/enchant++.h b/src/enchant++.h index e181b17..8081325 100644 --- a/src/enchant++.h +++ b/src/enchant++.h @@ -43,7 +43,7 @@ namespace enchant class Exception : public std::exception { public: - Exception (const char * ex) + explicit Exception (const char * ex) : std::exception (), m_ex ("") { if (ex) m_ex = ex; @@ -57,6 +57,8 @@ namespace enchant } private: + Exception (); + std::string m_ex; }; |