diff options
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp index 49d77863df..9579f3ddb1 100644 --- a/src/qml/jsruntime/qv4engine.cpp +++ b/src/qml/jsruntime/qv4engine.cpp @@ -547,10 +547,10 @@ Heap::Object *ExecutionEngine::newNumberObject(const Value &value) return object->d(); } -Heap::Object *ExecutionEngine::newBooleanObject(const Value &value) +Heap::Object *ExecutionEngine::newBooleanObject(bool b) { Scope scope(this); - ScopedObject object(scope, memoryManager->alloc<BooleanObject>(this, value)); + ScopedObject object(scope, memoryManager->alloc<BooleanObject>(this, b)); return object->d(); } |