diff options
| author | 2020-11-06 09:06:51 +0100 | |
|---|---|---|
| committer | 2020-11-06 09:06:51 +0100 | |
| commit | 17e3ef97962b89ff74acd84549e841c7911cad13 (patch) | |
| tree | 800f891ef45fa2985c7d5a6ccb4ec193b84c4671 | |
| parent | 671bf7bdf20ccc61339d0959b1fb2f81a316825b (diff) | |
| download | OneRoll-17e3ef97962b89ff74acd84549e841c7911cad13.tar.gz OneRoll-17e3ef97962b89ff74acd84549e841c7911cad13.zip | |
fix compilation
| -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 f22107d..bdb95c3 100644 --- a/node/sortresult.cpp +++ b/node/sortresult.cpp @@ -103,7 +103,7 @@ void SortResultNode::run(ExecutionNode* node) { for(int i= 0; i < diceList2.size() / 2; ++i) { - diceList2.swapItemsAt(i, diceList2.size() - (1 + i)); + diceList2.swap(i, diceList2.size() - (1 + i)); } } m_diceResult->setResultList(diceList2); |