]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/mode.h
Add decorations for things which are considered part of the API
[libs/core.git] / source / io / mode.h
index 65b408972b4cd6d01f2b140a541bae71e87c19a8..6230a6560936962c16ae448e888c9313b9e1890a 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_IO_MODE_H_
 
 #include <stdexcept>
+#include <msp/core/mspcore_api.h>
 
 namespace Msp {
 namespace IO {
@@ -30,7 +31,7 @@ inline void adjust_mode(Mode &m, Mode f, bool b)
 { m = b ? (m|f) : (m&~f); }
 
 
-class invalid_access: public std::logic_error
+class MSPCORE_API invalid_access: public std::logic_error
 {
 public:
        invalid_access(Mode);