From: Mikko Rasa Date: Fri, 7 Dec 2007 18:06:33 +0000 (+0000) Subject: Bugfixes X-Git-Tag: 1.0~12 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=4276e9a4f973949abf5b0fc3b83c0c93ace90a86;p=libs%2Fcore.git Bugfixes --- diff --git a/source/core/except.h b/source/core/except.h index a18e028..5dfbe8d 100644 --- a/source/core/except.h +++ b/source/core/except.h @@ -46,8 +46,9 @@ class KeyError: public Exception { public: KeyError(const std::string &w_): Exception(w_) { } - KeyError(const std::string &w_, const std::string &k) { } + KeyError(const std::string &w_, const std::string &k); const std::string &get_key() const { return key; } + ~KeyError() throw() { } private: std::string key; };