summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-04-05 20:27:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-04-05 20:30:00 +0200
commit7289933633b0c231d45c799fcf6523775337a98e (patch)
tree365c3e6c675b91998884f4d128ee4a234cd60adf
parent465c6a9434283155135ab28bd70180e4ee6d9778 (diff)
logic/extensions: kill for now
-rw-r--r--logic/extensions.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/logic/extensions.cpp b/logic/extensions.cpp
index 1c855923..03d03a83 100644
--- a/logic/extensions.cpp
+++ b/logic/extensions.cpp
@@ -63,9 +63,12 @@ event_handler::event_handler(Modules::dylib_list const& extensions) : ext_bundle
void event_handler::run_events(event_ordinal k, Pose& pose)
{
+#if 0
auto fun = std::mem_fn(ordinal_to_function[k].ptr);
for (extension& x : extensions_for_event[k])
fun(*x.logic, pose);
+#else
+ (void)k; (void)pose;
+#endif
}
-