diff options
| author | Martin Hořeňovský | 2021-11-14 11:40:39 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-11-14 11:41:26 +0100 |
| commit | a754cb90621fc311514c483676f2c053f0f67d25 (patch) | |
| tree | 19b71f8f7f2c23f6ea49da89316e1bc425a43805 /src/catch2 | |
| parent | 5f38cc39fac811b7d08d48bfc8b94599c2fd720b (diff) | |
| download | catch3-a754cb90621fc311514c483676f2c053f0f67d25.tar.gz | |
Make TestRunInfo constexpr
Diffstat (limited to 'src/catch2')
| -rw-r--r-- | src/catch2/interfaces/catch_interfaces_reporter.hpp | 2 |
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; }; |