From da9d63ccd53a944840e44090cce4b174929102e9 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 24 Jan 2021 13:31:44 +0100 Subject: Compile on Qt5.15 --- 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 bdb95c3..f22107d 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.swap(i, diceList2.size() - (1 + i)); + diceList2.swapItemsAt(i, diceList2.size() - (1 + i)); } } m_diceResult->setResultList(diceList2); -- cgit v1.2.3-70-g09d2