In file included from main.cpp:18:0:
game_database.h: In member function 'std::vector<GameObject> GameDatabase::DataByName(std::__cxx11::string) const':
game_database.h:51:20: error: 'const struct std::pair<const long long unsigned int, GameObject>' has no member named 'next'
if (i->next.name == name) {
^~~~
game_database.h:52:34: error: 'const struct std::pair<const long long unsigned int, GameObject>' has no member named 'next'
res.push_back(i->next);
^~~~
game_database.h: In member function 'std::vector<GameObject> GameDatabase::DataByPosition(size_t, size_t) const':
game_database.h:62:20: error: 'const struct std::pair<const long long unsigned int, GameObject>' has no member named 'next'
if (i->next.x == x && i->next.y == y) {
^~~~
game_database.h:62:38: error: 'const struct std::pair<const long long unsigned int, GameObject>' has no member named 'next'
if (i->next.x == x && i->next.y == y) {
^~~~
game_database.h:63:34: error: 'const struct std::pair<const long long unsigned int, GameObject>' has no member named 'next'
res.push_back(i->next);
^~~~
game_database.h: In member function 'std::vector<GameObject> GameDatabase::Data() const':
game_database.h:73:30: error: 'const struct std::pair<const long long unsigned int, GameObject>' has no member named 'next'
res.push_back(i->next);
^~~~
|
Файлы на сервере и клиенте не совпали
(2 467 b)
|