KylerXX
Active Member
- Joined
- Jun 24, 2010
- Messages
- 439
- Reaction score
- 30
How to convert this code to 0.3.6 to work?
I get this error:
Code:
std::vector<CreatureEvent*> getAllCreatureEvents(){return m_creatureEvents;}
I get this error:
dev said:C:\\creatureevent.h In member function `std::vector<CreatureEvent*, std::allocator<CreatureEvent*> > CreatureEvents::getAllCreatureEvents()':
79 C:\\creatureevent.h conversion from `std::map<std::string, CreatureEvent*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<const std::string, CreatureEvent*> > >' to non-scalar type `std::vector<CreatureEvent*, std::allocator<CreatureEvent*> >' requested
Last edited: