title: C++ and coverity issues
body: <pre><code>MyClass* const Func(const std::string&amp; statename)
  </code></pre>
  
  <p>for this coverity is giving the error</p>
  
  <blockquote>
    <p>Parse warning (PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE) type
    qualifier on return type is meaningless .</p>
  </blockquote>
  
  <p>Do we really need to remove the const here.?</p>