From adcfd88764aab630290479c3b68651690f27f050 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Wed, 24 Aug 2011 17:58:31 +1000 Subject: [PATCH] Remove QTestLog constructor/destructor definitions 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 Reviewed-by: Rohan McGovern --- src/testlib/qtestlog.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/testlib/qtestlog.cpp b/src/testlib/qtestlog.cpp index 9990bbd..36b69e1 100644 --- a/src/testlib/qtestlog.cpp +++ b/src/testlib/qtestlog.cpp @@ -191,14 +191,6 @@ namespace QTest { } -QTestLog::QTestLog() -{ -} - -QTestLog::~QTestLog() -{ -} - void QTestLog::enterTestFunction(const char* function) { QTEST_ASSERT(QTest::testLogger); -- 2.7.4