summaryrefslogtreecommitdiffstats
path: root/src/render/io/qmeshdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/io/qmeshdata.h')
-rw-r--r--src/render/io/qmeshdata.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/io/qmeshdata.h b/src/render/io/qmeshdata.h
index 613f1190a..20b4008fb 100644
--- a/src/render/io/qmeshdata.h
+++ b/src/render/io/qmeshdata.h
@@ -78,11 +78,11 @@ public:
explicit QMeshData(PrimitiveTypes primitiveType = Triangles);
virtual ~QMeshData();
- void addAttribute(const QString& name, QAbstractAttributePtr attr);
- void setIndexAttribute(QAbstractAttributePtr attr);
+ void addAttribute(const QString &name, const QAbstractAttributePtr &attr);
+ void setIndexAttribute(const QAbstractAttributePtr &attr);
QStringList attributeNames() const;
- QAbstractAttributePtr attributeByName(QString name) const;
+ QAbstractAttributePtr attributeByName(const QString &name) const;
QAbstractAttributePtr indexAttribute() const;
static const QString defaultPositionAttributeName() { return QStringLiteral("vertexPosition"); }