Fix compiler warnings

Fix base classes without virtual destructors and missing initialisors.
This commit is contained in:
Wichert Akkerman
2011-09-23 10:03:52 +02:00
parent 98a21bce5d
commit 6d18d4b189
5 changed files with 26 additions and 4 deletions

View File

@@ -559,7 +559,8 @@ public:
const char* expr = "",
bool isNot = false
)
: m_result( expr, isNot, filename, line, macroName )
: m_result( expr, isNot, filename, line, macroName ),
m_messageStream()
{}
///////////////////////////////////////////////////////////////////////////
@@ -659,7 +660,7 @@ class ScopedInfo
public:
///////////////////////////////////////////////////////////////////////////
ScopedInfo
()
() : m_oss()
{
Hub::getResultCapture().pushScopedInfo( this );
}