diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-07 07:01:32 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-07 07:01:32 +0100 |
| commit | dbb6d49a5632a26885e6e388128d68fe1932a4ea (patch) | |
| tree | 28ccf74c6fe06c1e79a98fc1d534c9086387b849 /main/setup.cpp | |
| parent | 2a0f6513132982c17644fc0917ad1f632b2d5b81 (diff) | |
add missing includes
Diffstat (limited to 'main/setup.cpp')
| -rw-r--r-- | main/setup.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/setup.cpp b/main/setup.cpp index edd95767..1329374a 100644 --- a/main/setup.cpp +++ b/main/setup.cpp @@ -1,5 +1,7 @@ #include "main-impl.hpp" #include "compat/fpu.hpp" +#include <algorithm> +#include <Corrade/Containers/StringView.h> namespace floormat { @@ -12,7 +14,7 @@ main_impl::main_impl(floormat_app& app, fm_settings&& s, int& fake_argc) noexcep { (void)setSwapInterval(1); if (const auto list = GL::Context::current().extensionStrings(); - std::find(list.cbegin(), list.cend(), "EXT_swap_control_tear") != list.cbegin()) + std::find(list.cbegin(), list.cend(), "EXT_swap_control_tear") != list.cend()) (void)setSwapInterval(-1); } else |
