From ab13ab5f71a5b09de3b9526feca2ed7c564cee7e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 5 Feb 2025 05:17:47 +0100 Subject: switch to Corrade pair impl from stl --- editor/events.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'editor/events.cpp') diff --git a/editor/events.cpp b/editor/events.cpp index b25cdb7e..6aaf1e70 100644 --- a/editor/events.cpp +++ b/editor/events.cpp @@ -7,7 +7,8 @@ #include "keys.hpp" #include "editor.hpp" #include "compat/enum-bitset.hpp" -#include +#include +#include #include #include @@ -141,7 +142,7 @@ void app::on_mouse_scroll(const mouse_scroll_event& event, const sdl2::EvScroll& while (false); } -auto app::resolve_keybinding(int k_, int mods_) -> std::tuple +auto app::resolve_keybinding(int k_, int mods_) -> Pair { [[maybe_unused]] constexpr int CTRL = kmod_ctrl; [[maybe_unused]] constexpr int SHIFT = kmod_shift; -- cgit v1.2.3