]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCacheItem.h
Properly track the lifetime of signals2::slots (#8261)
[lyx.git] / src / graphics / GraphicsCacheItem.h
index 9cee2b872e61524d67baf57f2d7c146628cff78c..6f7f968bc6a44086af831849470043faa4053c0e 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "GraphicsTypes.h"
 
-#include <boost/signals2.hpp>
+#include "support/signals.h"
 
 
 namespace lyx {
@@ -82,9 +82,9 @@ public:
        /** Connect and you'll be informed when the loading status of the image
         *  changes.
         */
-       typedef boost::signals2::signal<void()>::slot_type slot_type;
+       typedef signals2::signal<void()>::slot_type slot_type;
        ///
-       boost::signals2::connection connect(slot_type const &) const;
+       signals2::connection connect(slot_type const &) const;
 
 private:
        /// noncopyable