summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-06-30 22:12:56 +0200
committerrobojumper <robojumper@gmail.com>2025-06-30 22:13:35 +0200
commitc944ee7dcf78aa4f0d3946cee9016635f61da82b (patch)
treeea37a1dbc6ef07de1d8b53c8ea39f71b270d6a17 /include
parent810f61fe94a44ede6ed18027eb6bdda429d7d91a (diff)
Fix virtual state symbols
Diffstat (limited to 'include')
-rw-r--r--include/s/s_FStateVirtualID.hpp4
-rw-r--r--include/s/s_State.hpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/s/s_FStateVirtualID.hpp b/include/s/s_FStateVirtualID.hpp
index e48600a2..409ac7c3 100644
--- a/include/s/s_FStateVirtualID.hpp
+++ b/include/s/s_FStateVirtualID.hpp
@@ -9,7 +9,7 @@ class sFStateVirtualID_c : public sFStateID_c<T> {
public:
typedef void (T::*stateFunc)();
sFStateVirtualID_c(
- const sStateID_c *superState, const char *name, stateFunc initialize, stateFunc execute, stateFunc finalize
+ const sStateIDIf_c *superState, const char *name, stateFunc initialize, stateFunc execute, stateFunc finalize
)
: sFStateID_c<T>(name, initialize, execute, finalize), mpSuperState(superState) {}
@@ -29,7 +29,7 @@ public:
}
private:
- const sStateID_c *mpSuperState;
+ const sStateIDIf_c *mpSuperState;
};
#endif
diff --git a/include/s/s_State.hpp b/include/s/s_State.hpp
index 40e15303..262885af 100644
--- a/include/s/s_State.hpp
+++ b/include/s/s_State.hpp
@@ -65,11 +65,11 @@
#define STATE_VIRTUAL_DEFINE(class, name) \
template <typename T> \
- static const sStateID_c &baseID_##name() { \
+ static const sStateIDIf_c &baseID_##name() { \
return T::StateID_##name; \
} \
template <> \
- const sStateID_c &baseID_##name<sStateID_c>() { \
+ const sStateIDIf_c &baseID_##name<sStateID_c>() { \
return sStateID::null; \
} \
const sFStateVirtualID_c<class> class ::StateID_##name( \