tst_moc: Remove invalid preprocessor usage

Doing what this code section was doing is not valid use of the
preprocessor. Therefore, we don't have to have this behavior and are
allowed to change how moc parses this.

Change-Id: Id69569111e7d4e619e22ffff144b45ea91ae22e3
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
Thiago Macieira 2016-05-03 22:22:57 -07:00
parent a4e3e34b83
commit 6fb56a74c8

View File

@ -489,13 +489,6 @@ public:
Q_ENUMS(EnumSourceClass::TestEnum)
};
#if defined(Q_MOC_RUN)
// Task #119503
#define _TASK_119503
#if !_TASK_119503
#endif
#endif
class CtorTestClass : public QObject
{
Q_OBJECT