diff options
author | Oleg Shparber <trollixx@gmail.com> | 2014-12-31 10:37:47 -0800 |
---|---|---|
committer | Oleg Shparber <trollixx@gmail.com> | 2015-01-03 23:29:57 +0100 |
commit | 2fe82c505d09fdf372f1d4c5992a3a0b0dc98f33 (patch) | |
tree | 3961702f98d9f553e4c90e9eb074a8096c48ad05 /src/qml/jsruntime/qv4string.cpp | |
parent | 4a9ed3de7d92809cf575f245f55d4f422b4983c3 (diff) |
Use QV4::ScopedObject typedef instead of actual type
Change-Id: I0b68c534ea513a7c230b12114f6b42b069f9864b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4string.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4string.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4string.cpp b/src/qml/jsruntime/qv4string.cpp index e6a7a2f7a7..52756734c5 100644 --- a/src/qml/jsruntime/qv4string.cpp +++ b/src/qml/jsruntime/qv4string.cpp @@ -178,7 +178,7 @@ void String::put(Managed *m, String *name, const ValueRef value) if (scope.hasException()) return; ScopedString that(scope, static_cast<String *>(m)); - Scoped<Object> o(scope, that->engine()->newStringObject(that)); + ScopedObject o(scope, that->engine()->newStringObject(that)); o->put(name, value); } @@ -189,7 +189,7 @@ void String::putIndexed(Managed *m, uint index, const ValueRef value) return; ScopedString that(scope, static_cast<String *>(m)); - Scoped<Object> o(scope, that->engine()->newStringObject(that)); + ScopedObject o(scope, that->engine()->newStringObject(that)); o->putIndexed(index, value); } |