summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actPlayerInfoBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/KingSystem/ActorSystem/actPlayerInfoBase.cpp')
-rw-r--r--src/KingSystem/ActorSystem/actPlayerInfoBase.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actPlayerInfoBase.cpp b/src/KingSystem/ActorSystem/actPlayerInfoBase.cpp
new file mode 100644
index 00000000..dbca9baa
--- /dev/null
+++ b/src/KingSystem/ActorSystem/actPlayerInfoBase.cpp
@@ -0,0 +1,6 @@
+#include "KingSystem/ActorSystem/actPlayerInfo.h"
+namespace ksys::act {
+// these are separate from actPlayerInfo.cpp so clang doesn't inline/dedupe them
+[[gnu::noinline]] PlayerInfoBase::PlayerInfoBase() = default;
+[[gnu::noinline]] PlayerInfoBase::~PlayerInfoBase() = default;
+} // namespace ksys::act