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