Remove QTestLog constructor/destructor definitions
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 24 Aug 2011 07:58:31 +0000 (17:58 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 29 Aug 2011 04:48:23 +0000 (06:48 +0200)
QTestLog is an entirely static class and its constructor and destructor
are declared private to prevent accidental construction of an instance
of the class.  Therefore, the constructor and destructor do not need to
be defined.

Change-Id: I860f1344c5032091f5c641a20e1656bb52a6f07e
Reviewed-on: http://codereview.qt.nokia.com/3466
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
src/testlib/qtestlog.cpp

index 9990bbd..36b69e1 100644 (file)
@@ -191,14 +191,6 @@ namespace QTest {
 
 }
 
-QTestLog::QTestLog()
-{
-}
-
-QTestLog::~QTestLog()
-{
-}
-
 void QTestLog::enterTestFunction(const char* function)
 {
     QTEST_ASSERT(QTest::testLogger);