From e76e0548bca056e4852358b3ff0be0a0eb7b8782 Mon Sep 17 00:00:00 2001 From: John O'Neil Date: Thu, 27 Jun 2024 13:07:19 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20#150515=20Provide=20required=20headers=20?= =?UTF-8?q?for=20build=20with=20Clang-16=20and=20GCC=20=E2=80=A6=20(flutte?= =?UTF-8?q?r/engine#53479)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes Impeller engine build with `clang-16` and GCC 14 C++Stdlib does not implicitly include ``. Fixes issue: #150515 *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- engine/src/flutter/fml/synchronization/sync_switch.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/src/flutter/fml/synchronization/sync_switch.cc b/engine/src/flutter/fml/synchronization/sync_switch.cc index 7340086af9..2c04fae2f0 100644 --- a/engine/src/flutter/fml/synchronization/sync_switch.cc +++ b/engine/src/flutter/fml/synchronization/sync_switch.cc @@ -4,6 +4,8 @@ #include "flutter/fml/synchronization/sync_switch.h" +#include + namespace fml { SyncSwitch::Handlers& SyncSwitch::Handlers::SetIfTrue(