]> git.lyx.org Git - lyx.git/blobdiff - src/CoordCache.h
start dissolving frontends/controllers. 40 steps to go.
[lyx.git] / src / CoordCache.h
index 1d1876d0666e7f700c0f687d09bde32f802f2291..0b3116bd091788cc20314f17409feb6cc8162e1a 100644 (file)
@@ -133,13 +133,13 @@ public:
 
        bool covers(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);
                return it != data_.end() && it->second.covers(x, y);
        }
 
        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);