shadowm

Untitled

Jul 18th, 2017
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. src/gui/dialogs/multiplayer/mp_create_game.cpp: In member function ‘virtual void gui2::dialogs::mp_create_game::post_show(gui2::window&)’:
  2. 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&)’
  3. entry_point_titles.push_back(is_first ? entry_point_titles.begin() : entry_point_titles.end(), title);
  4. ^
  5. In file included from /usr/include/c++/6/vector:64:0,
  6. from src/gui/dialogs/modal_dialog.hpp:22,
  7. from src/gui/dialogs/multiplayer/mp_create_game.hpp:17,
  8. from src/gui/dialogs/multiplayer/mp_create_game.cpp:17:
  9. /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>]
  10. push_back(const value_type& __x)
  11. ^~~~~~~~~
  12. /usr/include/c++/6/bits/stl_vector.h:914:7: note: candidate expects 1 argument, 2 provided
  13. /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>]
  14. push_back(value_type&& __x)
  15. ^~~~~~~~~
  16. /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