]> git.lyx.org Git - lyx.git/blobdiff - src/LayoutFile.h
Fix compatibility issue with 64-bit cygwin.
[lyx.git] / src / LayoutFile.h
index ae2e7cfaaade07b27241e0169244037d6c699451..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_; }
        ///