💄 cleanup
This commit is contained in:
		
							parent
							
								
									35829928da
								
							
						
					
					
						commit
						f80efd3954
					
				
					 2 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -82,7 +82,9 @@ class input_stream_adapter : public input_adapter_protocol
 | 
			
		|||
        auto res = sb.sbumpc();
 | 
			
		||||
        // set eof manually, as we don't use the istream interface.
 | 
			
		||||
        if (res == EOF)
 | 
			
		||||
        {
 | 
			
		||||
            is.clear(is.rdstate() | std::ios::eofbit);
 | 
			
		||||
        }
 | 
			
		||||
        return res;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue