mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 15:26:11 +01:00
Make TestRunInfo constexpr
This commit is contained in:
parent
5f38cc39fa
commit
a754cb9062
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user