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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_config.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-08-11 15:03:37 +0200
committerMartin Hořeňovský2020-08-11 15:03:37 +0200
commit60cc4c293d4d7d984a0f01397270ce592a397de5 (patch)
tree5885bc5be2481ae3d9175d14707e25c29a076a1d /src/catch2/catch_config.cpp
parent6dc834526103e3b9ee7fab26a69cd7942924bd91 (diff)
downloadcatch3-60cc4c293d4d7d984a0f01397270ce592a397de5.tar.gz
Turn ShowDurations into an enum class
Diffstat (limited to 'src/catch2/catch_config.cpp')
-rw-r--r--src/catch2/catch_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/catch_config.cpp b/src/catch2/catch_config.cpp
index bd311974..93acc690 100644
--- a/src/catch2/catch_config.cpp
+++ b/src/catch2/catch_config.cpp
@@ -70,7 +70,7 @@ namespace Catch {
bool Config::includeSuccessfulResults() const { return m_data.showSuccessfulTests; }
bool Config::warnAboutMissingAssertions() const { return !!(m_data.warnings & WarnAbout::NoAssertions); }
bool Config::warnAboutNoTests() const { return !!(m_data.warnings & WarnAbout::NoTests); }
- ShowDurations::OrNot Config::showDurations() const { return m_data.showDurations; }
+ ShowDurations Config::showDurations() const { return m_data.showDurations; }
double Config::minDuration() const { return m_data.minDuration; }
RunTests::InWhatOrder Config::runOrder() const { return m_data.runOrder; }
unsigned int Config::rngSeed() const { return m_data.rngSeed; }