aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4string_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-10-01 16:11:55 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-02 16:07:33 +0200
commitc1d66eec1dbaf9034e03e3efa0403a774c764373 (patch)
treefa185761604cc636e77ff5f4eda2462783bc18e6 /src/qml/jsruntime/qv4string_p.h
parentd49cc03df130353665edd89112fd4e1f3cdab9b6 (diff)
Cleanup API of Safe<T>
Don't have an implicit cast operator to Returned<T> anymore, and return a T* from the operator->() Change-Id: If4165071b986bfc84a157560d94d39c2dcfbc9e1 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4string_p.h')
-rw-r--r--src/qml/jsruntime/qv4string_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4string_p.h b/src/qml/jsruntime/qv4string_p.h
index b194003005..1e2aba32a9 100644
--- a/src/qml/jsruntime/qv4string_p.h
+++ b/src/qml/jsruntime/qv4string_p.h
@@ -65,6 +65,7 @@ struct Q_QML_EXPORT String : public Managed {
String(ExecutionEngine *engine, const QString &text);
~String() { _data = 0; }
+ bool equals(const StringRef other) const;
inline bool isEqualTo(const String *other) const {
if (this == other)
return true;