input_common: add missing header for libc++ after 340f15d1fa

src/input_common/drivers/joycon.cpp:187:26: error: no member named 'find_if' in namespace 'std::ranges'
            std::ranges::find_if(left_joycons, [](auto& device) { return !device->IsConnected(); });
            ~~~~~~~~~~~~~^
src/input_common/drivers/joycon.cpp:193:54: error: no member named 'find_if' in namespace 'std::ranges'
        const auto unconnected_device = std::ranges::find_if(
                                        ~~~~~~~~~~~~~^
src/input_common/drivers/joycon.cpp:393:51: error: no member named 'find_if' in namespace 'std::ranges'
        const auto matching_device = std::ranges::find_if(
                                     ~~~~~~~~~~~~~^
src/input_common/drivers/joycon.cpp:402:51: error: no member named 'find_if' in namespace 'std::ranges'
        const auto matching_device = std::ranges::find_if(
                                     ~~~~~~~~~~~~~^
This commit is contained in:
Jan Beich 2023-01-25 19:52:46 +00:00
parent 44b981fd3e
commit 20c7084892
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#include <fmt/format.h> #include <fmt/format.h>
#include "common/param_package.h" #include "common/param_package.h"
#include "common/polyfill_ranges.h"
#include "common/settings.h" #include "common/settings.h"
#include "common/thread.h" #include "common/thread.h"
#include "input_common/drivers/joycon.h" #include "input_common/drivers/joycon.h"