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

Make TestRunInfo constexpr

Commit
a754cb90621fc311514c483676f2c053f0f67d25
Author
Martin Hořeňovský ·
Parents
5f38cc39fac8

Files · Download .tar.gz

Changes

 src/catch2/interfaces/catch_interfaces_reporter.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
     };