summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actPlayerInfoBase.cpp
diff options
context:
space:
mode:
authorPistonight <pistonknight@outlook.com>2024-12-30 21:38:59 -0800
committerPistonight <pistonknight@outlook.com>2024-12-30 21:43:28 -0800
commit2363fbfe206f1203e753b9aab90e990a13e91354 (patch)
treed22aace0f36e7100a41c6a307ebff6cc37b546d7 /src/KingSystem/ActorSystem/actPlayerInfoBase.cpp
parentd5128f8fb43c20a8de388d5a7a4bbb6a549bf1b4 (diff)
PlayerInfo stuff that doesn't require PlayerBase
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