Include proper exception header in enforce.h

This commit is contained in:
Martin Hořeňovský 2017-08-02 00:26:52 +02:00
parent e8b785b177
commit 3882ac1a19
1 changed files with 1 additions and 1 deletions

View File

@ -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() )