Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_session.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-04-06 21:56:29 +0200
committerMartin Hořeňovský2022-04-07 12:50:13 +0200
commitd5bfce4d84f5dda55e1b77d2002a2726732130c6 (patch)
tree559b58fb3ec9b096af5e6f97f22ecc9f1588c49a /src/catch2/catch_session.cpp
parentc43947eb473d19dc183cd55ed0a4f7b06155342e (diff)
downloadcatch3-d5bfce4d84f5dda55e1b77d2002a2726732130c6.tar.gz
Rename config::colourMode to config::defaultConfigMode
This describes the actual intention much better.
Diffstat (limited to 'src/catch2/catch_session.cpp')
-rw-r--r--src/catch2/catch_session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/catch2/catch_session.cpp b/src/catch2/catch_session.cpp
index 74731cd0..86295844 100644
--- a/src/catch2/catch_session.cpp
+++ b/src/catch2/catch_session.cpp
@@ -51,7 +51,7 @@ namespace Catch {
ReporterConfig(
config,
stream,
- spec.colourMode().valueOr( config->colourMode() ),
+ spec.colourMode().valueOr( config->defaultColourMode() ),
spec.customOptions() ) );
}
@@ -70,7 +70,7 @@ namespace Catch {
ReporterConfig( config,
stream,
reporterSpec.colourMode().valueOr(
- config->colourMode() ),
+ config->defaultColourMode() ),
reporterSpec.customOptions() ) ) );
reporterIdx++;
}