]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTemplate.h
Some things did not need to be mutable after all
[lyx.git] / src / insets / ExternalTemplate.h
index 4392870057d3969c20d8729edf336b205575d312..d6be5734ab6dc6a18456f213da2d7f3b9c380369 100644 (file)
@@ -15,8 +15,6 @@
 
 #include "ExternalTransforms.h"
 
-#include <boost/noncopyable.hpp>
-
 #include <vector>
 
 namespace lyx {
@@ -107,7 +105,7 @@ public:
 /**
  *  A singleton class that manages the external inset templates
  */
-class TemplateManager : boost::noncopyable {
+class TemplateManager {
 public:
        /// Map from the LyX name of the template to the template structure
        typedef std::map<std::string, Template> Templates;
@@ -127,8 +125,12 @@ public:
         *  If it isn't found, return an empty std::string.
         */
        std::string const getPreambleDefByName(std::string const & name) const;
+       /// noncopyable
+       TemplateManager(TemplateManager const &) = delete;
+       void operator=(TemplateManager const &) = delete;
 private:
        TemplateManager();
+
        void readTemplates(support::FileName const & path);
        void dumpTemplates(std::ostream &) const;
        void dumpPreambleDefs(std::ostream &) const;