No apparent reason for an unnamed namespace in an include file here

Change-Id: Ic25a50fd25820dabe411f1a726580d3e137b028d
This commit is contained in:
Stephan Bergmann
2016-12-21 15:11:10 +01:00
parent 2d0e3d1cc6
commit 398a5f23a7
2 changed files with 0 additions and 10 deletions

View File

@@ -24,9 +24,6 @@
#include <QtCore/QCoreApplication> #include <QtCore/QCoreApplication>
#include <QtCore/QEventLoop> #include <QtCore/QEventLoop>
namespace
{
const QEvent::Type eventType = QEvent::User; const QEvent::Type eventType = QEvent::User;
class TestExcludePostedEvents class TestExcludePostedEvents
@@ -51,8 +48,6 @@ bool TestExcludePostedEvents::event( QEvent* e )
return QObject::event( e ); return QObject::event( e );
} }
}
#define QVERIFY(a) \ #define QVERIFY(a) \
if (!a) return 1; if (!a) return 1;

View File

@@ -26,9 +26,6 @@
#include <QtCore/QSocketNotifier> #include <QtCore/QSocketNotifier>
#include <unistd.h> #include <unistd.h>
namespace
{
class TestExcludeSocketNotifiers class TestExcludeSocketNotifiers
: public QObject : public QObject
{ {
@@ -60,8 +57,6 @@ void TestExcludeSocketNotifiers::slotReceived()
received = true; received = true;
} }
}
#define QVERIFY(a) \ #define QVERIFY(a) \
if (!a) return 1; if (!a) return 1;