More include simplifications

This commit is contained in:
Martin Hořeňovský 2017-02-12 13:34:55 +01:00
parent 67d513aa73
commit bc68b9f454
11 changed files with 6 additions and 14 deletions

View File

@ -13,6 +13,7 @@
#include "catch_clara.h" #include "catch_clara.h"
#include <fstream> #include <fstream>
#include <ctime>
namespace Catch { namespace Catch {

View File

@ -16,8 +16,6 @@
#include <memory> #include <memory>
#include <vector> #include <vector>
#include <string> #include <string>
#include <iostream>
#include <ctime>
#include <stdexcept> #include <stdexcept>
#ifndef CATCH_CONFIG_CONSOLE_WIDTH #ifndef CATCH_CONFIG_CONSOLE_WIDTH

View File

@ -11,8 +11,6 @@
#include "catch_debugger.h" #include "catch_debugger.h"
#include <iostream>
#ifdef CATCH_PLATFORM_MAC #ifdef CATCH_PLATFORM_MAC
#include <assert.h> #include <assert.h>

View File

@ -8,7 +8,7 @@
#ifndef TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED #ifndef TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
#define TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED #define TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
#include <iostream> #include <iosfwd>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -21,7 +21,6 @@
#include <string> #include <string>
#include <ostream> #include <ostream>
#include <map> #include <map>
#include <assert.h>
namespace Catch namespace Catch
{ {

View File

@ -9,7 +9,6 @@
#define TWOBLUECUBES_CATCH_NOTIMPLEMENTED_EXCEPTION_H_INCLUDED #define TWOBLUECUBES_CATCH_NOTIMPLEMENTED_EXCEPTION_H_INCLUDED
#include "catch_common.h" #include "catch_common.h"
#include <ostream>
namespace Catch { namespace Catch {

View File

@ -9,7 +9,7 @@
#define TWOBLUECUBES_CATCH_NOTIMPLEMENTED_EXCEPTION_HPP_INCLUDED #define TWOBLUECUBES_CATCH_NOTIMPLEMENTED_EXCEPTION_HPP_INCLUDED
#include "catch_notimplemented_exception.h" #include "catch_notimplemented_exception.h"
#include <ostream> #include <sstream>
namespace Catch { namespace Catch {

View File

@ -11,7 +11,6 @@
#include "catch_section.h" #include "catch_section.h"
#include "catch_capture.hpp" #include "catch_capture.hpp"
#include "catch_compiler_capabilities.h" #include "catch_compiler_capabilities.h"
#include "catch_timer.h"
namespace Catch { namespace Catch {

View File

@ -11,6 +11,8 @@
#include "catch_common.h" #include "catch_common.h"
#include "catch_totals.hpp" #include "catch_totals.hpp"
#include <string>
namespace Catch { namespace Catch {
struct SectionInfo { struct SectionInfo {

View File

@ -8,10 +8,7 @@
#ifndef TWOBLUECUBES_CATCH_SECTION_INFO_HPP_INCLUDED #ifndef TWOBLUECUBES_CATCH_SECTION_INFO_HPP_INCLUDED
#define TWOBLUECUBES_CATCH_SECTION_INFO_HPP_INCLUDED #define TWOBLUECUBES_CATCH_SECTION_INFO_HPP_INCLUDED
#include "catch_common.h" #include "catch_section_info.h"
#include <map>
#include <string>
namespace Catch { namespace Catch {

View File

@ -16,7 +16,6 @@
#include <vector> #include <vector>
#include <set> #include <set>
#include <sstream> #include <sstream>
#include <iostream>
#include <algorithm> #include <algorithm>