From 20c7084892606153073e8312e7b8d88b58085f9f Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 25 Jan 2023 19:52:46 +0000 Subject: input_common: add missing header for libc++ after 340f15d1fa79 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( ~~~~~~~~~~~~~^ --- src/input_common/drivers/joycon.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/input_common/drivers') diff --git a/src/input_common/drivers/joycon.cpp b/src/input_common/drivers/joycon.cpp index 7122093c6..40cda400d 100644 --- a/src/input_common/drivers/joycon.cpp +++ b/src/input_common/drivers/joycon.cpp @@ -4,6 +4,7 @@ #include #include "common/param_package.h" +#include "common/polyfill_ranges.h" #include "common/settings.h" #include "common/thread.h" #include "input_common/drivers/joycon.h" -- cgit v1.2.3