aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/sortresult.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-01-29 01:41:00 +0100
committerRenaud G <renaud@rolisteam.org>2020-01-29 01:41:00 +0100
commitfa8df6f94f1cb265662c68811d324699f736ab4e (patch)
tree3448fc0180c026137580cbf67c84335be70c3562 /node/sortresult.cpp
parentec4e06259947921b6958e3cdf27786904a79af2f (diff)
downloadOneRoll-fa8df6f94f1cb265662c68811d324699f736ab4e.tar.gz
OneRoll-fa8df6f94f1cb265662c68811d324699f736ab4e.zip
Remove warnings.
Diffstat (limited to 'node/sortresult.cpp')
-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);