mirror of https://github.com/catchorg/Catch2.git
Include proper exception header in enforce.h
This commit is contained in:
parent
e8b785b177
commit
3882ac1a19
|
@ -10,7 +10,7 @@
|
||||||
#include "catch_common.h"
|
#include "catch_common.h"
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <exception>
|
#include <stdexcept>
|
||||||
|
|
||||||
#define CATCH_PREPARE_EXCEPTION( type, msg ) \
|
#define CATCH_PREPARE_EXCEPTION( type, msg ) \
|
||||||
type( static_cast<std::ostringstream&&>( std::ostringstream() << msg ).str() )
|
type( static_cast<std::ostringstream&&>( std::ostringstream() << msg ).str() )
|
||||||
|
|
Loading…
Reference in New Issue