diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-09-18 10:02:04 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-22 01:06:20 +0200 |
commit | 8b3623ee7b707e1b26ad48bdbf7816b95d9e0e24 (patch) | |
tree | ca8c955546b9a70c60a4befc7eeccc944bc16d58 /tests/auto/qml/qv4debugger | |
parent | 055f71f87d5d58be2aafd6c0ef2b84d57ed48b63 (diff) |
Start using StringRef for parameter passing
Change-Id: If2c41daeda2862cd1162c5da8163a9d62fe4111d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/qml/qv4debugger')
-rw-r--r-- | tests/auto/qml/qv4debugger/tst_qv4debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp b/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp index 7be954d4ef..3acc9c8311 100644 --- a/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp +++ b/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp @@ -85,7 +85,7 @@ public: QV4::Scope scope(v4); QV4::Scoped<QV4::String> name(scope, v4->newString(functionName)); - QV4::ScopedValue function(scope, v4->newBuiltinFunction(v4->rootContext, name.getPointer(), injectedFunction)); + QV4::ScopedValue function(scope, v4->newBuiltinFunction(v4->rootContext, name, injectedFunction)); v4->globalObject->put(name.getPointer(), function); } |