Fix #150515 Provide required headers for build with Clang-16 and GCC … (flutter/engine#53479)

Fixes Impeller engine build with `clang-16` and GCC 14 C++Stdlib does not implicitly include `<algorithm>`.

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
This commit is contained in:
John O'Neil
2024-06-27 13:07:19 -07:00
committed by GitHub
parent 8e2c560e10
commit e76e0548bc

View File

@@ -4,6 +4,8 @@
#include "flutter/fml/synchronization/sync_switch.h"
#include <algorithm>
namespace fml {
SyncSwitch::Handlers& SyncSwitch::Handlers::SetIfTrue(