X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fexcept.h;h=5dfbe8d03d56d56ac8a879eddc696dbb866670e5;hb=20e1beb546c26eae3b1a61ab2051108a7dca221f;hp=a18e028730aedddac1d044de1b98b4fa36edea21;hpb=9de64375e03b24ea46d36cec222150754e3818cb;p=libs%2Fcore.git 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; };