Remove unneeded ';' after some macros

The unneeded ';' triggered warnings in pedantic compilation mode.

Change-Id: Id2324823e138560bb25234306601253d7bbd713e
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Kai Pastor 2016-06-03 07:33:55 +02:00
parent 595c6abf9d
commit 35117590c8
6 changed files with 8 additions and 8 deletions

View File

@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE
class Q_GUI_EXPORT QBlittablePlatformPixmap : public QPlatformPixmap
{
// Q_DECLARE_PRIVATE(QBlittablePlatformPixmap);
// Q_DECLARE_PRIVATE(QBlittablePlatformPixmap)
public:
QBlittablePlatformPixmap();
~QBlittablePlatformPixmap();

View File

@ -83,8 +83,8 @@ public:
static QMatrix3x3 sourceTransform(const QRectF &subTexture, const QSize &textureSize, Origin origin);
private:
Q_DISABLE_COPY(QOpenGLTextureBlitter);
Q_DECLARE_PRIVATE(QOpenGLTextureBlitter);
Q_DISABLE_COPY(QOpenGLTextureBlitter)
Q_DECLARE_PRIVATE(QOpenGLTextureBlitter)
QScopedPointer<QOpenGLTextureBlitterPrivate> d_ptr;
};

View File

@ -57,7 +57,7 @@ class QBlittablePrivate;
class Q_GUI_EXPORT QBlittable
{
Q_DECLARE_PRIVATE(QBlittable);
Q_DECLARE_PRIVATE(QBlittable)
public:
enum Capability {

View File

@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE
template <typename Type> class QDataBuffer
{
Q_DISABLE_COPY(QDataBuffer);
Q_DISABLE_COPY(QDataBuffer)
public:
QDataBuffer(int res)
{

View File

@ -56,7 +56,7 @@ class QBlittable;
class Q_GUI_EXPORT QBlitterPaintEngine : public QRasterPaintEngine
{
Q_DECLARE_PRIVATE(QBlitterPaintEngine);
Q_DECLARE_PRIVATE(QBlitterPaintEngine)
public:
QBlitterPaintEngine(QBlittablePlatformPixmap *p);

View File

@ -68,7 +68,7 @@ public:
private:
SSLContextRef context;
Q_DISABLE_COPY(QSecureTransportContext);
Q_DISABLE_COPY(QSecureTransportContext)
};
class QSslSocketBackendPrivate : public QSslSocketPrivate
@ -115,7 +115,7 @@ private:
QSecureTransportContext context;
Q_DISABLE_COPY(QSslSocketBackendPrivate);
Q_DISABLE_COPY(QSslSocketBackendPrivate)
};
QT_END_NAMESPACE