summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actPlayerInfoBase.cpp
diff options
context:
space:
mode:
authorMichael Zhao <44533763+Pistonight@users.noreply.github.com>2025-01-28 10:14:58 -0800
committerGitHub <noreply@github.com>2025-01-28 10:14:58 -0800
commitd6957d9d2c8a9bb5ffc4fb8aba05972984a7c3d5 (patch)
treed22aace0f36e7100a41c6a307ebff6cc37b546d7 /src/KingSystem/ActorSystem/actPlayerInfoBase.cpp
parentd5128f8fb43c20a8de388d5a7a4bbb6a549bf1b4 (diff)
parent2363fbfe206f1203e753b9aab90e990a13e91354 (diff)
Merge pull request #133 from Pistonight/playerinfo
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