aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--node/sortresult.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/sortresult.cpp b/node/sortresult.cpp
index 89043fa..81086f2 100644
--- a/node/sortresult.cpp
+++ b/node/sortresult.cpp
@@ -101,7 +101,7 @@ void SortResultNode::run(ExecutionNode* node)
{
for(int i= 0; i < diceList2.size() / 2; ++i)
{
- diceList2.swap(i, diceList2.size() - (1 + i));
+ diceList2.swapItemsAt(i, diceList2.size() - (1 + i));
}
}
m_diceResult->setResultList(diceList2);