]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/accessguard.h
Decorate things which constitute the public API of the library
[libs/game.git] / source / game / accessguard.h
index 0f7bac76ab09f964e3623a14a0a22ec97b35af8d..2d9a3053b8324a8e06abdb8713f8469bd5907d84 100644 (file)
@@ -7,17 +7,18 @@
 #include <vector>
 #include <msp/core/noncopyable.h>
 #include <msp/debug/demangle.h>
+#include "mspgame_api.h"
 
 namespace Msp::Game {
 
-class invalid_access: public std::logic_error
+class MSPGAME_API invalid_access: public std::logic_error
 {
 public:
        invalid_access(const std::string &w): logic_error(w) { }
 };
 
 
-class AccessGuard
+class MSPGAME_API AccessGuard
 {
 public:
        struct Create { static std::string describe() { return "create"; } };