]> git.lyx.org Git - lyx.git/blobdiff - src/lastfiles.C
More fixes to insettabular/text (and some missing features added).
[lyx.git] / src / lastfiles.C
index 775ec1550019a069fd37ceac983c6e1476a85903..d53206221975b11dcc12033aadf5c5eb1f449669 100644 (file)
@@ -23,6 +23,7 @@
 #include "debug.h"
 
 using std::ifstream;
+using std::getline;
 using std::ofstream;
 using std::copy;
 using std::ostream_iterator;
@@ -93,7 +94,7 @@ void LastFiles::newFile(string const & file)
 }
 
 
-string LastFiles::operator[](unsigned int i) const
+string const LastFiles::operator[](unsigned int i) const
 {
        if (i < files.size())
                return files[i];