]> git.lyx.org Git - features.git/blobdiff - src/graphics/GraphicsConverter.h
Use new signal library `nod` instead of `boost::signals2`
[features.git] / src / graphics / GraphicsConverter.h
index c038029bd8f99b61559fbfc7b0447e4aab4d9cb0..7eb3689ad15c3c223ae4dac1eda15fb083b3b598 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "support/signals.h"
 
+#include <memory>
 
 namespace lyx {
 
@@ -39,9 +40,6 @@ public:
                  support::FileName const & from_file, std::string const & to_file_base,
                  std::string const & from_format, std::string const & to_format);
 
-       /// Needed for the pimpl
-       ~Converter();
-
        /// We are explicit about when we begin the conversion process.
        void startConversion() const;
 
@@ -70,7 +68,7 @@ private:
        /// Use the Pimpl idiom to hide the internals.
        class Impl;
        /// The pointer never changes although *pimpl_'s contents may.
-       Impl * const pimpl_;
+       std::shared_ptr<Impl> const pimpl_;
 };
 
 } // namespace graphics