Kayvan's compilation fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6833 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-04-20 18:38:29 +00:00
parent c5e48cabc7
commit 56f831570c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com>
* table.C: use string::erase(), not string::clear() to enable older
versions of gcc to compile the code.
2003-04-17 André Pönitz <poenitz@gmx.net>

View File

@ -232,7 +232,7 @@ void parse_table(Parser & p, ostream & os, unsigned flags)
// stuff before the line break
// and look ahead for stuff after the line break
os << HLINE << hlines << HLINE << LINE << read_hlines(p) << HLINE;
hlines.clear();
hlines.erase();
}
else if (t.cs() == "hline")