diff options
author | crupest <crupest@outlook.com> | 2020-10-29 00:16:48 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-29 00:16:48 +0800 |
commit | c5125e9034a5b05700ed41aee30f43476cb2c7f2 (patch) | |
tree | 4056188cda8cdf5e2a2c891ab32289d70d327d2d /src/ui/RoutedEventDispatch.hpp | |
parent | 52594324b302f6e9da10ac01fe803196371bb2d9 (diff) | |
download | cru-c5125e9034a5b05700ed41aee30f43476cb2c7f2.tar.gz cru-c5125e9034a5b05700ed41aee30f43476cb2c7f2.tar.bz2 cru-c5125e9034a5b05700ed41aee30f43476cb2c7f2.zip |
...
Diffstat (limited to 'src/ui/RoutedEventDispatch.hpp')
-rw-r--r-- | src/ui/RoutedEventDispatch.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/RoutedEventDispatch.hpp b/src/ui/RoutedEventDispatch.hpp index b6e0999b..de94a598 100644 --- a/src/ui/RoutedEventDispatch.hpp +++ b/src/ui/RoutedEventDispatch.hpp @@ -4,7 +4,7 @@ #include "cru/common/Logger.hpp" #include "cru/ui/DebugFlags.hpp" -#include <list> +#include <vector> namespace cru::ui { // Dispatch the event. @@ -36,7 +36,7 @@ void DispatchEvent(const std::u16string_view& event_name, return; } - std::list<Control*> receive_list; + std::vector<Control*> receive_list; auto parent = original_sender; while (parent != last_receiver) { |