]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/maputils.h
Add decorations for things which are considered part of the API
[libs/core.git] / source / core / maputils.h
index 26b72cc29e7b1891e96e06552ebb67645f679ebb..9a72d4d30f30e0339bec305b5589dc14e73be9d1 100644 (file)
@@ -4,6 +4,7 @@
 #include <stdexcept>
 #include <typeinfo>
 #include <msp/strings/lexicalcast.h>
+#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<typename T>