mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
* The eof() state isn't guaranteed to be set non-lazily. GCC 2.95
compatibility fix.
This commit is contained in:
parent
d8a31da1ea
commit
ae6d9033a1
1 changed files with 1 additions and 1 deletions
|
@ -688,5 +688,5 @@ bool string2Int(const string & s, int & n)
|
|||
{
|
||||
istringstream str(s);
|
||||
str >> n;
|
||||
return str && str.eof();
|
||||
return str && str.get() == EOF;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue