Jean-Marc Lasgouttes wrote:
> Did not work. This is gcc 3.4.1, BTW.

Same here. This one at least makes it compile again:

Index: src/CoordCache.h
===================================================================
--- src/CoordCache.h    (Revision 20461)
+++ src/CoordCache.h    (Arbeitskopie)
@@ -108,8 +108,8 @@

        bool covers(T const * thing, int x, int y) const
        {
-               cache_type::const_iterator it = data_.find(thing);
-               return it != data_.end() && it->second.covers(x, y);
+               //cache_type::const_iterator it = data_.find(thing);
+               return data_.find(thing) != data_.end() && 
data_.find(thing)->second.covers(x, y);
        }


Jürgen

Reply via email to