git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4071 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-04-26 06:13:30 +00:00
parent 092e3ca6ec
commit 66c63a89ef

View File

@ -40,9 +40,8 @@ MathArrayInset::MathArrayInset(string const & name, string const & str)
{ {
vector< vector<string> > dat; vector< vector<string> > dat;
istringstream is(str.c_str()); istringstream is(str.c_str());
while (is) { string line;
string line; while (getline(is, line)) {
getline(is, line);
istringstream ls(line.c_str()); istringstream ls(line.c_str());
typedef istream_iterator<string> iter; typedef istream_iterator<string> iter;
vector<string> v = vector<string>(iter(ls), iter()); vector<string> v = vector<string>(iter(ls), iter());