]> git.lyx.org Git - lyx.git/blobdiff - src/LayoutFile.h
Fix compatibility issue with 64-bit cygwin.
[lyx.git] / src / LayoutFile.h
index d2c87258eade9297e729b0a50dd82df60d17ca65..d602bd99148da6a508fa628caee46713372ece72 100644 (file)
@@ -34,7 +34,7 @@ public:
        ///
        typedef std::string base_type;
        ///
-       LayoutFileIndex(base_type t) { data_ = t; }
+       LayoutFileIndex(base_type const & t) : data_(t) { }
        ///
        operator base_type() const { return data_; }
        ///
@@ -81,7 +81,7 @@ private:
        /// LayoutFileList, which calls the private constructor.
        friend class LayoutFileList;
        /// can't create empty LayoutFile
-       LayoutFile() {};
+       LayoutFile() {}
 };