mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
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:
parent
519b50b51b
commit
6294c20a24
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user