History

rework ScriptValue to act like a stack variable rather than a pointer

Heather Anderson committed 5 years ago

Commit 85810221 parent f209c51170 files · +2837 −2594Browse files

Showing the changes to libraries/script-engine/src/qtscript/ScriptValueIteratorQtWrapper.cpp (1 of 170 files). Show all

Unified · Split

libraries/script-engine/src/qtscript/ScriptValueIteratorQtWrapper.cpp+2−2
@@ -27,7 +27,7 @@ void ScriptValueIteratorQtWrapper::next() { · 26 unmodified lines
2727 _value.next();
2828 }
2929
30−ScriptValuePointer ScriptValueIteratorQtWrapper::value() const {
30+ScriptValue ScriptValueIteratorQtWrapper::value() const {
3131 QScriptValue result = _value.value();
32− return ScriptValuePointer(new ScriptValueQtWrapper(_engine, std::move(result)));
32+ return ScriptValue(new ScriptValueQtWrapper(_engine, std::move(result)));
3333 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t