mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-16 18:52:25 +01:00
Fix -Wunused-private-field warnings
* catch_console_colour private field 'm_impl' only used on Windows when no ANSI * catch_reporter_junit private field 'm_currentTestSuccess' is not used at all
This commit is contained in:
parent
ead139e094
commit
8b1f62bb7e
@ -35,8 +35,10 @@ namespace Catch {
|
|||||||
void set( Colours colour );
|
void set( Colours colour );
|
||||||
~TextColour();
|
~TextColour();
|
||||||
|
|
||||||
|
#if !defined( CATCH_CONFIG_USE_ANSI_COLOUR_CODES ) && defined ( CATCH_PLATFORM_WINDOWS )
|
||||||
private:
|
private:
|
||||||
ConsoleColourImpl* m_impl;
|
ConsoleColourImpl* m_impl;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
} // end namespace Catch
|
} // end namespace Catch
|
||||||
|
@ -234,7 +234,6 @@ namespace Catch {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
ReporterConfig m_config;
|
ReporterConfig m_config;
|
||||||
bool m_currentTestSuccess;
|
|
||||||
|
|
||||||
Stats m_testSuiteStats;
|
Stats m_testSuiteStats;
|
||||||
Stats* m_currentStats;
|
Stats* m_currentStats;
|
||||||
|
Loading…
Reference in New Issue
Block a user