aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4runtime_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2014-11-11 13:34:18 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-12 17:55:57 +0100
commitfaf13a3aa0c97b7386e44d02f323a9156a733c9f (patch)
treeee3741b0724f52c3c1e66cd8963022fc877ab3b8 /src/qml/jsruntime/qv4runtime_p.h
parent9bad6eea0f30f6a6c1878c2773dc39071cb41584 (diff)
Ported most ExecutionEnginew::new* factory methods away from Returned<T>
We don't need Returned<T> anymore with the QV4:: vs. Heap:: separation. Eliminating Returned<T> simplifies also some code. Change-Id: Ic2a9cd3c1a94f2ea37b539d3984d63997121c2b9 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4runtime_p.h')
-rw-r--r--src/qml/jsruntime/qv4runtime_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4runtime_p.h b/src/qml/jsruntime/qv4runtime_p.h
index ea76451760..24971c695a 100644
--- a/src/qml/jsruntime/qv4runtime_p.h
+++ b/src/qml/jsruntime/qv4runtime_p.h
@@ -229,7 +229,7 @@ struct Q_QML_PRIVATE_EXPORT RuntimeHelpers {
static Returned<String> *convertToString(ExecutionEngine *engine, const ValueRef value);
static ReturnedValue toObject(ExecutionEngine *engine, const ValueRef value);
- static Returned<Object> *convertToObject(ExecutionEngine *engine, const ValueRef value);
+ static Heap::Object *convertToObject(ExecutionEngine *engine, const ValueRef value);
static Bool equalHelper(const ValueRef x, const ValueRef y);
static Bool strictEqual(const ValueRef x, const ValueRef y);