diff options
author | crupest <crupest@outlook.com> | 2020-03-04 00:01:31 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-04 00:01:31 +0800 |
commit | 280a621dd8189ca3f6dcf895fdca9563cdd79364 (patch) | |
tree | 6e074d6e609c8df9d68ff9ed37b6f6cd9c23cde1 | |
parent | ee669c346555547be84d544f34c9316e8b9e355a (diff) | |
download | cru-280a621dd8189ca3f6dcf895fdca9563cdd79364.tar.gz cru-280a621dd8189ca3f6dcf895fdca9563cdd79364.tar.bz2 cru-280a621dd8189ca3f6dcf895fdca9563cdd79364.zip |
...
-rw-r--r-- | src/ui/routed_event_dispatch.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 <typename EventArgs, typename... Args> -void DispatchEvent(const std::string_view& event_name, +void DispatchEvent(const char* event_name, Control* const original_sender, event::RoutedEvent<EventArgs>* (Control::*event_ptr)(), Control* const last_receiver, Args&&... args) { |