mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-21 12:05:39 +02:00
Builds almost completely cleanly with -WEverything in LLVM
This commit is contained in:
@@ -64,8 +64,9 @@ namespace Catch {
|
||||
private:
|
||||
Config( const Config& other );
|
||||
Config& operator = ( const Config& other );
|
||||
virtual void dummy();
|
||||
public:
|
||||
|
||||
|
||||
Config()
|
||||
: m_streambuf( NULL ),
|
||||
m_os( std::cout.rdbuf() )
|
||||
@@ -77,7 +78,7 @@ namespace Catch {
|
||||
m_os( std::cout.rdbuf() )
|
||||
{}
|
||||
|
||||
~Config() {
|
||||
virtual ~Config() {
|
||||
m_os.rdbuf( std::cout.rdbuf() );
|
||||
delete m_streambuf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user