Add some constexpr in compact reporter impl

This commit is contained in:
Martin Hořeňovský
2021-05-29 13:49:33 +02:00
parent c9027375a3
commit 2c04850f88

View File

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