]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCache.h
Correct the mess introduced in r33250.
[lyx.git] / src / graphics / GraphicsCache.h
index f0ea832f3d2d2311f8effb5ca84e352122e94122..0eb35a36fb1de82caf7249d17e790b8474fc4d53 100644 (file)
@@ -20,7 +20,8 @@
 #ifndef GRAPHICSCACHE_H
 #define GRAPHICSCACHE_H
 
-#include <tr1/memory>
+#include <boost/shared_ptr.hpp>
+
 #include <vector>
 #include <string>
 
@@ -33,8 +34,7 @@ namespace graphics {
 
 class CacheItem;
 
-class Cache
-{
+class Cache {
 public:
 
        /// This is a singleton class. Get the instance.
@@ -59,13 +59,13 @@ public:
         *  Returns an empty container if there is no such item.
         *
         *  IMPORTANT: whatever uses an image must make a local copy of this
-        *  ItemPtr. The tr1::shared_ptr<>::use_count() function is
+        *  ItemPtr. The boost::shared_ptr<>::use_count() function is
         *  used to ascertain whether or not to remove the item from the cache
         *  when remove(file) is called.
         *
         *  You have been warned!
         */
-       typedef std::tr1::shared_ptr<CacheItem> ItemPtr;
+       typedef boost::shared_ptr<CacheItem> ItemPtr;
        ///
        ItemPtr const item(support::FileName const & file) const;