* Synchronise FTCharmap::GlyphListIndex and FTCharmap::FontIndex prototypes declarations with their definitions. Patch by Vladimir Marek, taken from Blender commit r8915.
diff --git a/src/FTCharmap.cpp b/src/FTCharmap.cpp
index 18a3be9..0475045 100644
--- a/src/FTCharmap.cpp
+++ b/src/FTCharmap.cpp
@@ -77,15 +77,15 @@ bool FTCharmap::CharMap( FT_Encoding encoding)
}
-unsigned int FTCharmap::GlyphListIndex( unsigned int characterCode )
+unsigned int FTCharmap::GlyphListIndex(const unsigned int characterCode)
{
- return charMap.find( characterCode);
+ return charMap.find(characterCode);
}
-unsigned int FTCharmap::FontIndex( unsigned int characterCode )
+unsigned int FTCharmap::FontIndex(const unsigned int characterCode)
{
- return FT_Get_Char_Index( ftFace, characterCode);
+ return FT_Get_Char_Index(ftFace, characterCode);
}