mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			233 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			233 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include "NullOStream.h"
 | 
						|
 | 
						|
void NullOStream::avoidOutOfLineVirtualCompilerWarning()
 | 
						|
{
 | 
						|
}
 | 
						|
 | 
						|
int NullStreambuf::overflow(int c){
 | 
						|
    setp(dummyBuffer, dummyBuffer + sizeof(dummyBuffer));
 | 
						|
    return (c == traits_type::eof()) ? '\0' : c;
 | 
						|
}
 |