]> git.lyx.org Git - features.git/blobdiff - src/graphics/GraphicsCache.h
Baruch's graphic-inset patch.
[features.git] / src / graphics / GraphicsCache.h
index eba3413b190de1726d686409e88f9b82eb2f25f5..5c887fbccba4a7b6ff4ee569758828e90abca8a8 100644 (file)
@@ -52,5 +52,10 @@ private:
     typedef std::map<string, GraphicsCacheItem *> CacheType;
     ///
     CacheType cache;
+
+       // We need this so that an Item can tell the cache that it should be
+       // deleted. (to call removeFile).
+       // It also helps removing a warning gcc emits.
+       friend GraphicsCacheItem;
 };
 #endif