From bca28cb0d0dd922ee5d54e5d64d31b97ae5d0266 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 25 Jan 2014 21:59:15 +0100 Subject: Disentangle some includes ScopedValue should require less dependencies. Hopefully we can then move it together with the main class definition at some point (ie. move ScopedValue int qv4value_p.h; similar for the other types). Change-Id: Ie7b31715cb718a90dba40845c7ae785a29855062 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4string_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qml/jsruntime/qv4string_p.h') diff --git a/src/qml/jsruntime/qv4string_p.h b/src/qml/jsruntime/qv4string_p.h index e3d8326d84..40f4ff855b 100644 --- a/src/qml/jsruntime/qv4string_p.h +++ b/src/qml/jsruntime/qv4string_p.h @@ -186,9 +186,9 @@ inline String *value_cast(const Value &v) { } template<> -inline ReturnedValue value_convert(ExecutionContext *ctx, const Value &v) +inline ReturnedValue value_convert(ExecutionEngine *e, const Value &v) { - return v.toString(ctx)->asReturnedValue(); + return v.toString(e)->asReturnedValue(); } } -- cgit v1.2.3