* 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); |     istringstream str(s); | ||||||
|     str >> n; |     str >> n; | ||||||
|     return str && str.eof(); |     return str && str.get() == EOF; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue