]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.h
Some things did not need to be mutable after all
[lyx.git] / src / insets / InsetInclude.h
index 78d308008ce4d0f5ad233400112b78978ba7fdcf..c844075489f7034c65ae87ab42f912cf93920674 100644 (file)
@@ -17,7 +17,8 @@
 
 #include "RenderButton.h"
 
-#include <boost/scoped_ptr.hpp>
+#include "support/unique_ptr.h"
+
 
 namespace lyx {
 
@@ -164,7 +165,7 @@ private:
        docstring const include_label;
 
        /// The pointer never changes although *preview_'s contents may.
-       boost::scoped_ptr<RenderMonitoredPreview> const preview_;
+       unique_ptr<RenderMonitoredPreview> const preview_;
 
        /// 
        mutable bool failedtoload_;