Guest User

Untitled

a guest
Jan 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. In file included from spawn.h:26,
  2. from game.h:27,
  3. from raids.cpp:22:
  4. monster.h: In member function âvirtual const std::string& Monster::getName() constâ:
  5. monster.h:65: warning: returning reference to temporary
  6. In file included from spawn.h:26,
  7. from game.h:27,
  8. from raids.cpp:22:
  9. monster.h: In member function âvirtual const std::string& Monster::getNameDescription() constâ:
  10. monster.h:66: warning: returning reference to temporary
  11. raids.cpp: In member function âvirtual bool SingleSpawnEvent::executeEvent() constâ:
  12. raids.cpp:676: error: no matching function for call to âMonster::createMonster(const std::string&)â
  13. monster.h:49: note: candidates are: static Monster* Monster::createMonster(MonsterType*, int32_t)
  14. monster.h:50: note: static Monster* Monster::createMonster(const std::string&, int32_t)
  15. raids.cpp: In member function âvirtual bool AreaSpawnEvent::executeEvent() constâ:
  16. raids.cpp:899: error: no matching function for call to âMonster::createMonster(std::string&)â
  17. monster.h:49: note: candidates are: static Monster* Monster::createMonster(MonsterType*, int32_t)
  18. monster.h:50: note: static Monster* Monster::createMonster(const std::string&, int32_t)
  19. make[1]: *** [raids.o] Error 1
  20. make[1]: Leaving directory `/home/TestS'
  21. make: *** [all] Error 2
Add Comment
Please, Sign In to add comment