diff options
author | Oleg Shparber <trollixx@gmail.com> | 2014-12-31 10:42:15 -0800 |
---|---|---|
committer | Oleg Shparber <trollixx@gmail.com> | 2015-01-02 21:29:41 +0100 |
commit | 2fadffdc4630eca35d775d973a368feae2630bd9 (patch) | |
tree | b4af3d95e75655573cd2466d6807d3ae78feb47a /src/qml/jsruntime/qv4jsonobject.cpp | |
parent | 29c0102adb8b800f4947e4e7962ca414fe576866 (diff) |
Use QV4::ScopedFunctionObject typedef instead of actual type
Change-Id: I6b4effaa5bef992b4ae9402eea7fe655bc7b18f0
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4jsonobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4jsonobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4jsonobject.cpp b/src/qml/jsruntime/qv4jsonobject.cpp index a34faeed1a..0bd4cec336 100644 --- a/src/qml/jsruntime/qv4jsonobject.cpp +++ b/src/qml/jsruntime/qv4jsonobject.cpp @@ -707,7 +707,7 @@ QString Stringify::Str(const QString &key, ValueRef v) ScopedObject o(scope, value); if (o) { ScopedString s(scope, ctx->d()->engine->newString(QStringLiteral("toJSON"))); - Scoped<FunctionObject> toJSON(scope, o->get(s)); + ScopedFunctionObject toJSON(scope, o->get(s)); if (!!toJSON) { ScopedCallData callData(scope, 1); callData->thisObject = value; |