mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-01 09:35:52 -05:00
refactor: Don't redundantly define TxItems in wallet/wallet.cpp
wallet/wallet.cpp:901:48: error: declaration shadows a typedef in 'wallet::CWallet' [-Werror,-Wshadow] typedef std::multimap<int64_t, CWalletTx*> TxItems; ^ ./wallet/wallet.h:483:48: note: previous declaration is here typedef std::multimap<int64_t, CWalletTx*> TxItems; ^
This commit is contained in:
parent
f953bf4d99
commit
b267c98c6c
1 changed files with 0 additions and 1 deletions
|
@ -919,7 +919,6 @@ DBErrors CWallet::ReorderTransactions()
|
|||
// Probably a bad idea to change the output of this
|
||||
|
||||
// First: get all CWalletTx into a sorted-by-time multimap.
|
||||
typedef std::multimap<int64_t, CWalletTx*> TxItems;
|
||||
TxItems txByTime;
|
||||
|
||||
for (auto& entry : mapWallet)
|
||||
|
|
Loading…
Add table
Reference in a new issue