Q_DISABLE_COPY doesn't need a ; at the end

Fixes warnings when -Wpedantic is enabled

Change-Id: I8fcfbfa9bb3a5ab61c85f8cb74660f6f7e459fc0
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Reviewed-by: Alejandro Exojo Piqueras <suy@badopi.org>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
Albert Astals Cid 2013-06-07 15:12:05 +02:00 committed by The Qt Project
parent 9095210c0b
commit f7dee7383d
3 changed files with 3 additions and 3 deletions

View File

@ -1031,7 +1031,7 @@ void QRegularExpressionPrivate::getPatternInfo()
*/
class QPcreJitStackPointer
{
Q_DISABLE_COPY(QPcreJitStackPointer);
Q_DISABLE_COPY(QPcreJitStackPointer)
public:
/*!

View File

@ -96,7 +96,7 @@ private:
friend class QOpenGLContextGroupPrivate;
friend class QOpenGLMultiGroupSharedResource;
Q_DISABLE_COPY(QOpenGLSharedResource);
Q_DISABLE_COPY(QOpenGLSharedResource)
};
class Q_GUI_EXPORT QOpenGLSharedResourceGuard : public QOpenGLSharedResource

View File

@ -441,7 +441,7 @@ public:
}
}
private:
Q_DISABLE_COPY(WindowSystemEventList);
Q_DISABLE_COPY(WindowSystemEventList)
};
static WindowSystemEventList windowSystemEventQueue;