| 206 | template <typename E> |
| 207 | struct EventCallbackWrapper { |
| 208 | EventCallbackWrapper(std::function<void(const E &)> callback) : callback(callback) {} |
| 209 | void operator()(const void *event) { callback(*(static_cast<const E*>(event))); } |
| 210 | std::function<void(const E &)> callback; |
| 211 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected