Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/gui/dialogs/multiplayer/mp_create_game.cpp: In member function ‘virtual void gui2::dialogs::mp_create_game::post_show(gui2::window&)’:
- src/gui/dialogs/multiplayer/mp_create_game.cpp:802:106: error: no matching function for call to ‘std::vector<std::__cxx11::basic_string<char> >::push_back(std::vector<std::__cxx11::basic_string<char> >::iterator, const string&)’
- entry_point_titles.push_back(is_first ? entry_point_titles.begin() : entry_point_titles.end(), title);
- ^
- In file included from /usr/include/c++/6/vector:64:0,
- from src/gui/dialogs/modal_dialog.hpp:22,
- from src/gui/dialogs/multiplayer/mp_create_game.hpp:17,
- from src/gui/dialogs/multiplayer/mp_create_game.cpp:17:
- /usr/include/c++/6/bits/stl_vector.h:914:7: note: candidate: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; std::vector<_Tp, _Alloc>::value_type = std::__cxx11::basic_string<char>]
- push_back(const value_type& __x)
- ^~~~~~~~~
- /usr/include/c++/6/bits/stl_vector.h:914:7: note: candidate expects 1 argument, 2 provided
- /usr/include/c++/6/bits/stl_vector.h:932:7: note: candidate: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; std::vector<_Tp, _Alloc>::value_type = std::__cxx11::basic_string<char>]
- push_back(value_type&& __x)
- ^~~~~~~~~
- /usr/include/c++/6/bits/stl_vector.h:932:7: note: candidate expects 1 argument, 2 provided
Advertisement
Add Comment
Please, Sign In to add comment