aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4string_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4string_p.h')
-rw-r--r--src/qml/jsruntime/qv4string_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4string_p.h b/src/qml/jsruntime/qv4string_p.h
index 7ad428a502..840e940802 100644
--- a/src/qml/jsruntime/qv4string_p.h
+++ b/src/qml/jsruntime/qv4string_p.h
@@ -101,13 +101,13 @@ struct Q_QML_EXPORT String : public Managed {
}
uint toUInt(bool *ok) const;
- void makeIdentifier() {
+ void makeIdentifier() const {
if (identifier)
return;
makeIdentifierImpl();
}
- void makeIdentifierImpl();
+ void makeIdentifierImpl() const;
void createHashValue() const;
static uint createHashValue(const QChar *ch, int length);