Code: Select all
SpellProcess.cpp:535: erreur: no match for «operator=" in «itr = ((SpellProcess*)this)->SpellProcess::spell_que.std::map<_Key, _Tp, _Compare, _Alloc>::erase [with _Key = Entity*, _Tp = Spell*, _Compare = std::less<Entity*>, _Alloc = std::allocator<std::pair<Entity* const, Spell*> >](itr)"
/usr/include/c++/4.1.3/bits/stl_tree.h:152: note: candidats sont: std::_Rb_tree_iterator<std::pair<Entity* const, Spell*> >& std::_Rb_tree_iterator<std::pair<Entity* const, Spell*> >::operator=(const std::_Rb_tree_iterator<std::pair<Entity* const, Spell*> >&)
Spawn.h: In member function «void Spawn::Set(Field*, Value) [with Field = sint16, Value = float]":
Spawn.h:141: instantiated from «void Spawn::SetPos(Field*, Value, bool) [with Field = sint16, Value = float]"
Spawn.h:225: instantiated from here
Spawn.h:130: attention : converting to «short int" from «float"
make: *** [SpellProcess.o] Erreur 1