From fa8df6f94f1cb265662c68811d324699f736ab4e Mon Sep 17 00:00:00 2001 From: Renaud G Date: Wed, 29 Jan 2020 01:41:00 +0100 Subject: Remove warnings. --- node/sortresult.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node') 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); -- cgit v1.2.3-70-g09d2