]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsLoader.h
hand-crafted LyXErr
[lyx.git] / src / graphics / GraphicsLoader.h
index 145c0e585881af1db0d5f64a7816d3517d58ccd8..b1c82d9067d39fb47f7a8424154d7f09d7882d34 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "GraphicsTypes.h"
 
-#include <boost/scoped_ptr.hpp>
 #include <boost/signal.hpp>
 
 namespace lyx {
@@ -48,8 +47,7 @@ public:
        Loader(support::FileName const & file_with_path, Params const &);
        ///
        Loader(Loader const &);
-
-       /// Define an empty d-tor out-of-line to keep boost::scoped_ptr happy.
+       /// Needed for the pimpl
        ~Loader();
 
        Loader & operator=(Loader const &);
@@ -104,7 +102,7 @@ private:
        /// Use the Pimpl idiom to hide the internals.
        class Impl;
        /// The pointer never changes although *pimpl_'s contents may.
-       boost::scoped_ptr<Impl> const pimpl_;
+       Impl * const pimpl_;
 };
 
 } // namespace graphics