Made charmap() const
diff --git a/include/FTFace.h b/include/FTFace.h
index 1c667a9..dba846f 100755
--- a/include/FTFace.h
+++ b/include/FTFace.h
@@ -86,7 +86,7 @@ class FTGL_EXPORT FTFace
* @return <code>true</code> if charmap was valid
* and set correctly
*/
- bool CharMap( FT_Encoding encoding);
+ bool CharMap( FT_Encoding encoding) const;
/**
* Get the glyph index of the input character.
diff --git a/src/FTFace.cpp b/src/FTFace.cpp
index 8f4e687..571375a 100755
--- a/src/FTFace.cpp
+++ b/src/FTFace.cpp
@@ -92,7 +92,7 @@ FTSize& FTFace::Size( const unsigned int size, const unsigned int res)
}
-bool FTFace::CharMap( FT_Encoding encoding)
+bool FTFace::CharMap( FT_Encoding encoding) const
{
return charMap->CharMap( encoding);
}