diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2020-10-28 00:38:51 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2020-11-01 12:56:10 +0000 |
commit | 241434200ec2067673d8522fee4f1228abfd8247 (patch) | |
tree | 15af7bb2498acfa3c2667ab9e3b36337f8e531d8 | |
parent | 989e579d07bb5031639060b717f7a0be15d10e29 (diff) | |
download | bitcoin-241434200ec2067673d8522fee4f1228abfd8247.tar.xz |
refactor: qt: Use vQueueNotifications.clear()
-rw-r--r-- | src/qt/transactiontablemodel.cpp | 2 |
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(); } } |