Skip to content

Commit cc4acea

Browse files
jbeichammen99
authored andcommitted
api: add missing header for libc++ 14 after e2bf7b2
e2bf7b278d17In file included from plugins/single_plugins/place.cpp:1: In file included from src/api/wayfire/signal-provider.hpp:7: src/api/wayfire/nonstd/safe-list.hpp:144:35: error: implicit instantiation of undefined template 'std::vector<std::optional<wf::signal::connection_base_t *>>' std::vector<std::optional<T>> list; ^ src/api/wayfire/signal-provider.hpp:148:36: note: in instantiation of template class 'wf::safe_list_t<wf::signal::connection_base_t *>' requested here for (auto& [id, connected] : typed_connections) ^ /usr/include/c++/v1/iosfwd:260:28: note: template is declared here class _LIBCPP_TEMPLATE_VIS vector; ^
1 parent d0ac92a commit cc4acea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/wayfire/nonstd/safe-list.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <functional>
88
#include <optional>
99
#include <type_traits>
10+
#include <vector>
1011
#include <assert.h>
1112
#include <wayfire/util.hpp>
1213

0 commit comments

Comments
 (0)