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

summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-11-14 11:40:39 +0100
committerMartin Hořeňovský2021-11-14 11:41:26 +0100
commita754cb90621fc311514c483676f2c053f0f67d25 (patch)
tree19b71f8f7f2c23f6ea49da89316e1bc425a43805 /src
parent5f38cc39fac811b7d08d48bfc8b94599c2fd720b (diff)
downloadcatch3-a754cb90621fc311514c483676f2c053f0f67d25.tar.gz
Make TestRunInfo constexpr
Diffstat (limited to 'src')
-rw-r--r--src/catch2/interfaces/catch_interfaces_reporter.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/interfaces/catch_interfaces_reporter.hpp b/src/catch2/interfaces/catch_interfaces_reporter.hpp
index 2db4379a..3a7cd32c 100644
--- a/src/catch2/interfaces/catch_interfaces_reporter.hpp
+++ b/src/catch2/interfaces/catch_interfaces_reporter.hpp
@@ -45,7 +45,7 @@ namespace Catch {
};
struct TestRunInfo {
- TestRunInfo(StringRef _name) : name(_name) {}
+ constexpr TestRunInfo(StringRef _name) : name(_name) {}
StringRef name;
};