]> git.lyx.org Git - lyx.git/blobdiff - src/LayoutFile.h
Prevent accidental usage of wrong copy constructor
[lyx.git] / src / LayoutFile.h
index d602bd99148da6a508fa628caee46713372ece72..e27f58befb2eb1e81d1287394cff1a1b18459bbc 100644 (file)
@@ -90,8 +90,6 @@ private:
 /// via LayoutFileList::get()
 class LayoutFileList {
 public:
-       ///
-       LayoutFileList() {}
        ///
        ~LayoutFileList();
        /// \return The sole instance of this class.
@@ -128,6 +126,8 @@ public:
        bool load(std::string const & name, std::string const & buf_path);
 
 private:
+       ///
+       LayoutFileList() {}
        ///
        typedef std::map<std::string, LayoutFile *> ClassMap;
        /// noncopyable