From 280a621dd8189ca3f6dcf895fdca9563cdd79364 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 4 Mar 2020 00:01:31 +0800 Subject: ... --- src/ui/routed_event_dispatch.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ui/routed_event_dispatch.hpp b/src/ui/routed_event_dispatch.hpp index dd55ce17..0e60e492 100644 --- a/src/ui/routed_event_dispatch.hpp +++ b/src/ui/routed_event_dispatch.hpp @@ -20,7 +20,7 @@ namespace cru::ui { // "original_sender", which is unchanged. And "args" will be perfectly forwarded // as the rest arguments. template -void DispatchEvent(const std::string_view& event_name, +void DispatchEvent(const char* event_name, Control* const original_sender, event::RoutedEvent* (Control::*event_ptr)(), Control* const last_receiver, Args&&... args) { -- cgit v1.2.3