mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
Builds almost completely cleanly with -WEverything in LLVM
This commit is contained in:
parent
cdc64a138b
commit
a695eb9006
37 changed files with 1045 additions and 966 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue