Hi,
I have an error using the Vector::Remove(object)
All other functions (add erase) works accept this. I’m using version on GIT download 15 or 16 days ago.
void EventList::Remove(const VEvent &event)
{
lstEvents.Remove(event);
}
Error code in visual studio 2015:
Severity Code Description Project File Line
Error C2676 binary ‘!=’: ‘VEvent’ does not define this operator or a conversion to a type acceptable to the predefined operator NVuDu e:\projectcodes\urho3d-master\buildvs2015\include\urho3d\container\vector.h 350
Iterator Find(const T& value)
{
Iterator it = Begin();
while (it != End() && *it != value) //Error at this line
++it;
return it;
}