summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-07-25 08:20:05 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-07-25 08:20:05 +0200
commit10a8d40e12b30beec0781deb0af894f66fe3561f (patch)
tree43e5ce91406175c0ed141010affff8302e3fa5e1 /core/src
parent075837dc248ee36ec5abe7026bbb44b3c0609d29 (diff)
downloadturns-10a8d40e12b30beec0781deb0af894f66fe3561f.tar.xz
turns-10a8d40e12b30beec0781deb0af894f66fe3561f.zip
turns: add initialization functions
Diffstat (limited to 'core/src')
-rw-r--r--core/src/init.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/src/init.cpp b/core/src/init.cpp
new file mode 100644
index 0000000..258aceb
--- /dev/null
+++ b/core/src/init.cpp
@@ -0,0 +1,15 @@
+#include "turns/core/init.hpp"
+
+#include "turns/core/participant.hpp"
+#include "turns/core/turn_order.hpp"
+
+namespace turns::core
+{
+
+ auto register_types() -> void
+ {
+ static_cast<void>(participant{});
+ static_cast<void>(turn_order{});
+ }
+
+} // namespace turns::core \ No newline at end of file