summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/qscriptdebuggercodefinderwidget.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-06-06 20:58:47 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-06-06 20:58:53 +0200
commitd17b1947b5fb1b612e781e8af57f53f947ac13ba (patch)
tree7eb842460e13833e2e26c374af564d6531fb08e1 /src/scripttools/debugging/qscriptdebuggercodefinderwidget.cpp
parent583dcc6d31bb44d9d36c6a18dd71d54cbb6d5683 (diff)
downloadqtscript-d17b1947b5fb1b612e781e8af57f53f947ac13ba.tar.gz
QScriptValueIterator: replace a QLinkedList with a std::list
The payload type apparently doesn't like to be destroyed unless some magic foo is enabled (cf. ~QScriptValueIteratorPrivate()). Since the code also allows to remove items in the middle, we need a container that guarantees no copies (thus, deletions) happen at all. That leaves a vector<unique_ptr>, or a std::list. Since this is a deprecated module, use the least-intrusive option: std::list Change-Id: Iaadc71959814959bf7ba1a225f375d64edbd9785 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggercodefinderwidget.cpp')
0 files changed, 0 insertions, 0 deletions