diff --git a/src/olympic/studio/modlib/include/studio/selectiontracker.hpp b/src/olympic/studio/modlib/include/studio/selectiontracker.hpp index f33b2991..99484ec7 100644 --- a/src/olympic/studio/modlib/include/studio/selectiontracker.hpp +++ b/src/olympic/studio/modlib/include/studio/selectiontracker.hpp @@ -9,7 +9,11 @@ namespace studio { -struct Selection {ox::Point a, b;}; +struct Selection { + ox::Point a, b; + constexpr Selection() noexcept = default; + constexpr Selection(ox::Point const&pA, ox::Point const&pB) noexcept: a(pA), b(pB) {} +}; constexpr auto iterateSelection(studio::Selection const&sel, auto const&cb) { constexpr auto retErr = ox::is_same_v;