Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from spawn.h:26,
- from game.h:27,
- from raids.cpp:22:
- monster.h: In member function âvirtual const std::string& Monster::getName() constâ:
- monster.h:65: warning: returning reference to temporary
- In file included from spawn.h:26,
- from game.h:27,
- from raids.cpp:22:
- monster.h: In member function âvirtual const std::string& Monster::getNameDescription() constâ:
- monster.h:66: warning: returning reference to temporary
- raids.cpp: In member function âvirtual bool SingleSpawnEvent::executeEvent() constâ:
- raids.cpp:676: error: no matching function for call to âMonster::createMonster(const std::string&)â
- monster.h:49: note: candidates are: static Monster* Monster::createMonster(MonsterType*, int32_t)
- monster.h:50: note: static Monster* Monster::createMonster(const std::string&, int32_t)
- raids.cpp: In member function âvirtual bool AreaSpawnEvent::executeEvent() constâ:
- raids.cpp:899: error: no matching function for call to âMonster::createMonster(std::string&)â
- monster.h:49: note: candidates are: static Monster* Monster::createMonster(MonsterType*, int32_t)
- monster.h:50: note: static Monster* Monster::createMonster(const std::string&, int32_t)
- make[1]: *** [raids.o] Error 1
- make[1]: Leaving directory `/home/TestS'
- make: *** [all] Error 2
Add Comment
Please, Sign In to add comment