From 57409b7d2b6e904c40c1a7290b30462651ca68b3 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 14 Jul 2020 00:46:44 +0100 Subject: [PATCH] Remove an unnecessary iterator increment. Signed-off-by: Daira Hopwood --- src/wallet/walletdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index af35606ee..bb357ece2 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -1144,7 +1144,7 @@ void ThreadFlushWalletDB(const string& strFile) bitdb.CloseDb(strFile); bitdb.CheckpointLSN(strFile); - bitdb.mapFileUseCount.erase(mi++); + bitdb.mapFileUseCount.erase(mi); LogPrint("db", "Flushed %s %dms\n", strFile, GetTimeMillis() - nStart); } }