Moved some std includes out from catch_common.h

This commit is contained in:
Martin Hořeňovský 2017-02-12 12:17:07 +01:00
parent 324260f253
commit 9012f95964
6 changed files with 8 additions and 2 deletions

View File

@ -22,9 +22,7 @@
#define INTERNAL_CATCH_STRINGIFY( expr ) INTERNAL_CATCH_STRINGIFY2( expr ) #define INTERNAL_CATCH_STRINGIFY( expr ) INTERNAL_CATCH_STRINGIFY2( expr )
#include <sstream> #include <sstream>
#include <stdexcept>
#include <algorithm> #include <algorithm>
#include <cctype>
#include "catch_compiler_capabilities.h" #include "catch_compiler_capabilities.h"

View File

@ -11,6 +11,7 @@
#include "catch_common.h" #include "catch_common.h"
#include <cstring> #include <cstring>
#include <cctype>
namespace Catch { namespace Catch {

View File

@ -18,6 +18,7 @@
#include <string> #include <string>
#include <iostream> #include <iostream>
#include <ctime> #include <ctime>
#include <stdexcept>
#ifndef CATCH_CONFIG_CONSOLE_WIDTH #ifndef CATCH_CONFIG_CONSOLE_WIDTH
#define CATCH_CONFIG_CONSOLE_WIDTH 80 #define CATCH_CONFIG_CONSOLE_WIDTH 80

View File

@ -13,6 +13,8 @@
#include "catch_interfaces_testcase.h" #include "catch_interfaces_testcase.h"
#include "catch_common.h" #include "catch_common.h"
#include <cctype>
namespace Catch { namespace Catch {
inline TestCaseInfo::SpecialProperties parseSpecialTag( std::string const& tag ) { inline TestCaseInfo::SpecialProperties parseSpecialTag( std::string const& tag ) {

View File

@ -16,6 +16,7 @@
#include <assert.h> #include <assert.h>
#include <vector> #include <vector>
#include <iterator> #include <iterator>
#include <stdexcept>
namespace Catch { namespace Catch {
namespace TestCaseTracking { namespace TestCaseTracking {

View File

@ -10,6 +10,9 @@
#include "catch_common.h" #include "catch_common.h"
#include <stdexcept>
namespace Catch namespace Catch
{ {
class WildcardPattern { class WildcardPattern {