mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Add some constexpr in compact reporter impl
This commit is contained in:
parent
c9027375a3
commit
2c04850f88
@ -19,9 +19,9 @@
|
||||
namespace {
|
||||
|
||||
// Colour::LightGrey
|
||||
Catch::Colour::Code dimColour() { return Catch::Colour::FileName; }
|
||||
constexpr Catch::Colour::Code dimColour() { return Catch::Colour::FileName; }
|
||||
|
||||
Catch::StringRef bothOrAll( std::size_t count ) {
|
||||
constexpr Catch::StringRef bothOrAll( std::size_t count ) {
|
||||
switch (count) {
|
||||
case 1:
|
||||
return Catch::StringRef{};
|
||||
|
Loading…
Reference in New Issue
Block a user