Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit eebe41f

Browse files
authored
Add missing import (#47083)
Fixes the following: 6b262a0 results in the following error appearing internally when compiling for Android: ``` In file included from fml/synchronization/sync_switch.cc:5: ./fml/synchronization/sync_switch.h:74:34: error: implicit instantiation of undefined template 'std::vector<fml::SyncSwitch::Observer *>' mutable std::vector<Observer*> observers_; ^ <...>: note: template is declared here class _LIBCPP_TEMPLATE_VIS vector; ^ 1 error generated. ``` *List which issues are fixed by this PR. You must list at least one issue.* b/306266542 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 9d49175 commit eebe41f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fml/synchronization/sync_switch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#ifndef FLUTTER_FML_SYNCHRONIZATION_SYNC_SWITCH_H_
66
#define FLUTTER_FML_SYNCHRONIZATION_SYNC_SWITCH_H_
77

8-
#include <forward_list>
98
#include <functional>
109
#include <memory>
10+
#include <vector>
1111

1212
#include "flutter/fml/macros.h"
1313
#include "flutter/fml/synchronization/shared_mutex.h"

0 commit comments

Comments
 (0)