mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Include proper exception header in enforce.h
This commit is contained in:
		| @@ -10,7 +10,7 @@ | ||||
| #include "catch_common.h" | ||||
|  | ||||
| #include <sstream> | ||||
| #include <exception> | ||||
| #include <stdexcept> | ||||
|  | ||||
| #define CATCH_PREPARE_EXCEPTION( type, msg ) \ | ||||
|     type( static_cast<std::ostringstream&&>( std::ostringstream() << msg ).str() ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský