get iterator type right after r2843

This commit is contained in:
Dane Springmeyer 2011-04-27 21:06:07 +00:00
parent 6650f999b9
commit 31eea84d85

View file

@ -160,7 +160,7 @@ stroker_ptr freetype_engine::create_stroker()
font_face_set::dimension_t font_face_set::character_dimensions(const unsigned c) font_face_set::dimension_t font_face_set::character_dimensions(const unsigned c)
{ {
std::map<char, dimension_t>::const_iterator itr; std::map<unsigned, dimension_t>::const_iterator itr;
itr = dimension_cache_.find(c); itr = dimension_cache_.find(c);
if (itr != dimension_cache_.end()) { if (itr != dimension_cache_.end()) {
return itr->second; return itr->second;