Removed the call to the istream ctor, replaced it with readFrom
This commit is contained in:
parent
0b449f9817
commit
60857fcf3b
1 changed files with 2 additions and 1 deletions
|
|
@ -117,7 +117,8 @@ class eoPop: public vector<EOT>, public eoObject, public eoPersistent {
|
||||||
_is.getline( line, MAXLINELENGTH-1 );
|
_is.getline( line, MAXLINELENGTH-1 );
|
||||||
if (strlen( line ) ) {
|
if (strlen( line ) ) {
|
||||||
istrstream s( line );
|
istrstream s( line );
|
||||||
EOT thisEOT( s );
|
EOT thisEOT;
|
||||||
|
thisEOT.readFrom( s );
|
||||||
push_back( thisEOT );
|
push_back( thisEOT );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue