X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmaputils.h;h=9a72d4d30f30e0339bec305b5589dc14e73be9d1;hb=HEAD;hp=7eae13471accbff5f67803bb1818af6c78b052f5;hpb=99b9121e2158603372c7313400283b622e6754d8;p=libs%2Fcore.git diff --git a/source/core/maputils.h b/source/core/maputils.h index 7eae134..9a72d4d 100644 --- a/source/core/maputils.h +++ b/source/core/maputils.h @@ -4,6 +4,7 @@ #include #include #include +#include "mspcore_api.h" namespace Msp { @@ -39,7 +40,7 @@ static std::string stringify_key(const T &k) } // namespace Internal -class key_error: public std::runtime_error +class MSPCORE_API key_error: public std::runtime_error { public: template @@ -47,7 +48,7 @@ public: runtime_error(make_what(typeid(T), MapUtilsInternal::stringify_key(k))) { } - virtual ~key_error() throw() = default; + ~key_error() throw() override = default; private: static std::string make_what(const std::type_info &, const std::string &);