add another typename, see r20470

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20475 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-09-24 19:20:40 +00:00
parent 519b50b51b
commit 6294c20a24

View File

@ -139,7 +139,7 @@ public:
int squareDistance(T const * thing, int x, int y) const
{
cache_type::const_iterator it = data_.find(thing);
typename cache_type::const_iterator it = data_.find(thing);
if (it == data_.end())
return 1000000;
return it->second.squareDistance(x, y);