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:
@@ -4,6 +4,8 @@
|
||||
|
||||
#include "flutter/fml/synchronization/sync_switch.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
namespace fml {
|
||||
|
||||
SyncSwitch::Handlers& SyncSwitch::Handlers::SetIfTrue(
|
||||
|
||||
Reference in New Issue
Block a user