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

Console Colour: fix compilation

Commit
899c5ed3df6fa1081b36476d9ce80310668458a7
Author
Jozef Grajciar ·
Committer
Martin Hořeňovský
Parents
084b1d5fe67d

Files · Download .tar.gz

Changes

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

diff --git a/include/internal/catch_console_colour.cpp b/include/internal/catch_console_colour.cpp
index 863e0d67..07072db6 100644
--- a/include/internal/catch_console_colour.cpp
+++ b/include/internal/catch_console_colour.cpp
@@ -160,7 +160,7 @@ namespace {
 
     private:
         void setColour( const char* _escapeCode ) {
-            getCurrentContext().getConfig().stream()
+            getCurrentContext().getConfig()->stream()
                 << '\033' << _escapeCode;
         }
     };