diff options
| author | Martin Hořeňovský | 2022-05-02 12:13:29 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-05-02 21:32:24 +0200 |
| commit | 198713e5dc2c1adc8f28bdd43c9e66a679cf8d8d (patch) | |
| tree | 2d5ef098b8532f88f3134d0072bca86d6d1a3480 /src/catch2/internal/catch_console_colour.cpp | |
| parent | b84067ea6f566fdfecadcef4b2c938698e1c21cc (diff) | |
| download | catch3-198713e5dc2c1adc8f28bdd43c9e66a679cf8d8d.tar.gz | |
Cleanup of unused functions
The cleanup also found out that custom translation for std-derived
exceptions test wasn't running properly, and fixed that.
We cannot enable the warning globally, because the tests contain
some functions that are unused by design -- e.g. when checking
stringification priority of StringMaker vs range fallback and so
on.
Diffstat (limited to 'src/catch2/internal/catch_console_colour.cpp')
| -rw-r--r-- | src/catch2/internal/catch_console_colour.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/catch2/internal/catch_console_colour.cpp b/src/catch2/internal/catch_console_colour.cpp index f519fb86..b3de32b5 100644 --- a/src/catch2/internal/catch_console_colour.cpp +++ b/src/catch2/internal/catch_console_colour.cpp @@ -88,7 +88,6 @@ namespace Catch { class NoColourImpl : public ColourImpl { public: NoColourImpl( IStream* stream ): ColourImpl( stream ) {} - static bool useColourOnPlatform() { return true; } private: void use( Colour::Code ) const override {} |