title: "function already has a body"
body: <p>What does this mean?</p>
  
  <pre><code>1&gt;c:\users\vitali\documents\visual studio 2010\projects\salam\tools.cpp(107): error C2084: function 'bool readXMLInteger(xmlNodePtr,const char *,int &amp;)' already has a body
  1&gt;c:\users\vitali\documents\visual studio 2010\projects\salam\tools.h(52) : see previous definition of 'readXMLInteger'
  </code></pre>
  
  <p>tools.cpp(107):</p>
  
  <pre><code>bool readXMLInteger(xmlNodePtr node, const char* tag, int32_t& value)
  {
      char* nodeValue = (char*)xmlGetProp(node, (xmlChar*)tag);
      if(nodeValue)
      {
          value = atoi(nodeValue);
          xmlFreeXOXL(nodeValue);
          return true;
      }
  
      return false;
  }
  </code></pre>
  
  <p>tools.h(52)</p>
  
  <pre><code>bool readXMLInteger(xmlNodePtr node, const char* tag, int& value);
  </code></pre>