Removed unneccessary mutable usage

This commit is contained in:
Robert Osfield
2017-03-02 17:05:24 +00:00
parent 1e36a12a17
commit 59931d1591
2 changed files with 10 additions and 12 deletions

View File

@@ -331,7 +331,7 @@ public:
/** Direct Access to GlyphQuads */
const GlyphQuads* getGlyphQuads(GlyphTexture* texture) const
{
TextureGlyphQuadMap::iterator itGlyphQuad = _textureGlyphQuadMap.find(texture);
TextureGlyphQuadMap::const_iterator itGlyphQuad = _textureGlyphQuadMap.find(texture);
if (itGlyphQuad == _textureGlyphQuadMap.end()) return NULL;
return &itGlyphQuad->second;
@@ -356,7 +356,7 @@ protected:
// members which have public access.
// iternal map used for rendering. Set up by the computeGlyphRepresentation() method.
mutable TextureGlyphQuadMap _textureGlyphQuadMap;
TextureGlyphQuadMap _textureGlyphQuadMap;
void computeGlyphRepresentation();