In file included from main.cpp:18:0:
game_database.h: In member function 'std::vector<GameObject> GameDatabase::DataByName(std::__cxx11::string)':
game_database.h:45:34: error: 'comp' was not declared in this scope
sort(names.begin(), names.end(), comp);
^~~~
game_database.h: In member function 'std::vector<GameObject> GameDatabase::DataByPosition(size_t, size_t)':
game_database.h:60:34: error: 'comp' was not declared in this scope
sort(poses.begin(), poses.end(), comp);
^~~~
game_database.h: In member function 'std::vector<GameObject> GameDatabase::Data()':
game_database.h:74:30: error: 'comp' was not declared in this scope
sort(res.begin(), res.end(), comp);
^~~~
|