Tiny compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3260 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2001-12-21 12:16:10 +00:00
parent 5144bfbad9
commit a41a4c065d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
* tabular_funcs.C: getline -> std::getline
2001-12-21 Juergen Vigna <jug@sad.it>
* undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is

View File

@ -229,7 +229,7 @@ void l_getline(istream & is, string & str)
{
str.erase();
while (str.empty()) {
getline(is, str);
std::getline(is, str);
if (!str.empty() && str[str.length() - 1] == '\r')
str.erase(str.length() - 1);
}