Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Fix memset build error

Moved #include <cstring> to catch_reporter_bases.hpp
Commit
a9f16b18f7b3b7df2e99c11c6ee21205c613c5f7
Author
Phil Nash ·
Parents
576aff608587

Files · Download .tar.gz

Changes

 include/reporters/catch_reporter_bases.hpp   | 2 ++
 include/reporters/catch_reporter_console.hpp | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/reporters/catch_reporter_bases.hpp b/include/reporters/catch_reporter_bases.hpp
index 25f320b3..771d1d68 100644
--- a/include/reporters/catch_reporter_bases.hpp
+++ b/include/reporters/catch_reporter_bases.hpp
@@ -10,6 +10,8 @@
 
 #include "../internal/catch_interfaces_reporter.h"
 
+#include <cstring>
+
 namespace Catch {
 
     struct StreamingReporterBase : SharedImpl<IStreamingReporter> {
diff --git a/include/reporters/catch_reporter_console.hpp b/include/reporters/catch_reporter_console.hpp
index 9fde2037..16896f4c 100644
--- a/include/reporters/catch_reporter_console.hpp
+++ b/include/reporters/catch_reporter_console.hpp
@@ -13,8 +13,6 @@
 #include "../internal/catch_reporter_registrars.hpp"
 #include "../internal/catch_console_colour.hpp"
 
-#include <cstring>
-
 namespace Catch {
 
     struct ConsoleReporter : StreamingReporterBase {