Skip to content

Commit eebe41f

Browse files
authored
Add missing import (flutter#47083)
Fixes the following: flutter/engine@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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)