Make TestRunInfo constexpr

This commit is contained in:
Martin Hořeňovský 2021-11-14 11:40:39 +01:00
parent 5f38cc39fa
commit a754cb9062
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -45,7 +45,7 @@ namespace Catch {
}; };
struct TestRunInfo { struct TestRunInfo {
TestRunInfo(StringRef _name) : name(_name) {} constexpr TestRunInfo(StringRef _name) : name(_name) {}
StringRef name; StringRef name;
}; };