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:
parent
9095210c0b
commit
f7dee7383d
@ -1031,7 +1031,7 @@ void QRegularExpressionPrivate::getPatternInfo()
|
||||
*/
|
||||
class QPcreJitStackPointer
|
||||
{
|
||||
Q_DISABLE_COPY(QPcreJitStackPointer);
|
||||
Q_DISABLE_COPY(QPcreJitStackPointer)
|
||||
|
||||
public:
|
||||
/*!
|
||||
|
@ -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
|
||||
|
@ -441,7 +441,7 @@ public:
|
||||
}
|
||||
}
|
||||
private:
|
||||
Q_DISABLE_COPY(WindowSystemEventList);
|
||||
Q_DISABLE_COPY(WindowSystemEventList)
|
||||
};
|
||||
|
||||
static WindowSystemEventList windowSystemEventQueue;
|
||||
|
Loading…
Reference in New Issue
Block a user