diff options
| author | 2020-01-29 01:41:00 +0100 | |
|---|---|---|
| committer | 2020-01-29 01:41:00 +0100 | |
| commit | fa8df6f94f1cb265662c68811d324699f736ab4e (patch) | |
| tree | 3448fc0180c026137580cbf67c84335be70c3562 /node/sortresult.cpp | |
| parent | ec4e06259947921b6958e3cdf27786904a79af2f (diff) | |
| download | OneRoll-fa8df6f94f1cb265662c68811d324699f736ab4e.tar.gz OneRoll-fa8df6f94f1cb265662c68811d324699f736ab4e.zip | |
Remove warnings.
Diffstat (limited to 'node/sortresult.cpp')
| -rw-r--r-- | node/sortresult.cpp | 2 |
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); |