From 241434200ec2067673d8522fee4f1228abfd8247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Barbosa?= Date: Wed, 28 Oct 2020 00:38:51 +0000 Subject: [PATCH] refactor: qt: Use vQueueNotifications.clear() --- src/qt/transactiontablemodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index 07196133986..3148089b52a 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -741,7 +741,7 @@ void TransactionTablePriv::ShowProgress(const std::string &title, int nProgress) vQueueNotifications[i].invoke(parent); } - std::vector().swap(vQueueNotifications); // clear + vQueueNotifications.clear(); } }