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:
parent
595c6abf9d
commit
35117590c8
@ -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();
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
@ -57,7 +57,7 @@ class QBlittablePrivate;
|
||||
|
||||
class Q_GUI_EXPORT QBlittable
|
||||
{
|
||||
Q_DECLARE_PRIVATE(QBlittable);
|
||||
Q_DECLARE_PRIVATE(QBlittable)
|
||||
public:
|
||||
enum Capability {
|
||||
|
||||
|
@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
template <typename Type> class QDataBuffer
|
||||
{
|
||||
Q_DISABLE_COPY(QDataBuffer);
|
||||
Q_DISABLE_COPY(QDataBuffer)
|
||||
public:
|
||||
QDataBuffer(int res)
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user