aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2020-10-28 00:38:51 +0000
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2020-11-01 12:56:10 +0000
commit241434200ec2067673d8522fee4f1228abfd8247 (patch)
tree15af7bb2498acfa3c2667ab9e3b36337f8e531d8
parent989e579d07bb5031639060b717f7a0be15d10e29 (diff)
refactor: qt: Use vQueueNotifications.clear()
-rw-r--r--src/qt/transactiontablemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp
index 0719613398..3148089b52 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<TransactionNotification >().swap(vQueueNotifications); // clear
+ vQueueNotifications.clear();
}
}