From 79ba10135987cffc31496e8515c5372146d9b31d Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 4 Mar 2020 00:24:32 +0800 Subject: ... --- src/ui/routed_event_dispatch.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/routed_event_dispatch.hpp') diff --git a/src/ui/routed_event_dispatch.hpp b/src/ui/routed_event_dispatch.hpp index 0e60e492..dd55ce17 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 char* event_name, +void DispatchEvent(const std::string_view& event_name, Control* const original_sender, event::RoutedEvent* (Control::*event_ptr)(), Control* const last_receiver, Args&&... args) { -- cgit v1.2.3