summaryrefslogtreecommitdiffstats
path: root/src/render/geometry/qattribute.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-01 02:13:35 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-01 22:14:14 +0000
commit1c4cd066aaa4d51d468aa22d139b08ad8a81e484 (patch)
treee5edb329a9bddca9076926899209cbdb6e64b0b1 /src/render/geometry/qattribute.h
parent66dba70b569aa26faff962c11050318d4c4517f5 (diff)
Make public headers compile with -Wzero-as-null-pointer-constant
... or equivalent. This amends a similar commit on 5.6. Task-number: QTBUG-45291 Change-Id: I0d76f5c9b95db38f03771acaba1b4a80e4762ec9 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/geometry/qattribute.h')
-rw-r--r--src/render/geometry/qattribute.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/geometry/qattribute.h b/src/render/geometry/qattribute.h
index 6209225d0..6fbf83f4d 100644
--- a/src/render/geometry/qattribute.h
+++ b/src/render/geometry/qattribute.h
@@ -87,9 +87,9 @@ public:
};
Q_ENUM(VertexBaseType)
- explicit QAttribute(QNode *parent = 0);
- explicit QAttribute(QBuffer *buf, VertexBaseType vertexBaseType, uint vertexSize, uint count, uint offset = 0, uint stride = 0, QNode *parent = 0);
- explicit QAttribute(QBuffer *buf, const QString &name, VertexBaseType vertexBaseType, uint vertexSize, uint count, uint offset = 0, uint stride = 0, QNode *parent = 0);
+ explicit QAttribute(QNode *parent = nullptr);
+ explicit QAttribute(QBuffer *buf, VertexBaseType vertexBaseType, uint vertexSize, uint count, uint offset = 0, uint stride = 0, QNode *parent = nullptr);
+ explicit QAttribute(QBuffer *buf, const QString &name, VertexBaseType vertexBaseType, uint vertexSize, uint count, uint offset = 0, uint stride = 0, QNode *parent = nullptr);
~QAttribute();
QBuffer *buffer() const;