8000 Removed #includes for Catch headers · log4cplus/Catch@58dcb5e · GitHub
[go: up one dir, main page]

Skip to content

Commit 58dcb5e

Browse files
committed
Removed #includes for Catch headers
see comment in file for details
1 parent b771394 commit 58dcb5e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

include/reporters/catch_reporter_teamcity.hpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
#ifndef TWOBLUECUBES_CATCH_REPORTER_TEAMCITY_HPP_INCLUDED
99
#define TWOBLUECUBES_CATCH_REPORTER_TEAMCITY_HPP_INCLUDED
1010

11-
#include "catch_reporter_bases.hpp"
12-
13-
#include "../internal/catch_reporter_registrars.hpp"
11+
// Don't #include any Catch headers here - we can assume they are already
12+
// included before this header.
13+
// This is not good practice in general but is necessary in this case so this
14+
// file can be distributed as a single header that works with the main
15+
// Catch single header.
1416

1517
#include <cstring>
1618

0 commit comments

Comments
 (0)
0