I'm having problems with this call:
m_baseMap.find(baseName)->second->AddVehicale(vehicaleToAdd);
There's a red line under m_baseMap
, the error is : "the object has type qualifiers that are not compatible with the member function". The base map is defined as the following:
map <string, const Base*> m_baseMap;
How can I fix it?