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 compilation when using g++ with libc++

Fixes #1110
Commit
b083b04126f0b221faad47116c878fb2ef4daef6
Author
Martin Hořeňovský ·
Parents
505d2f897748

Files · Download .tar.gz

Changes

 include/internal/catch_tostring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/internal/catch_tostring.h b/include/internal/catch_tostring.h
index 40d61479..374b5e9b 100644
--- a/include/internal/catch_tostring.h
+++ b/include/internal/catch_tostring.h
@@ -26,7 +26,7 @@
 
 
 // We need a dummy global operator<< so we can bring it into Catch namespace later
-struct Catch_global_namespace_dummy;
+struct Catch_global_namespace_dummy {};
 std::ostream& operator<<(std::ostream&, Catch_global_namespace_dummy);
 
 namespace Catch {