mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Fix broken build (invalid use of qualified name std::advance)
This commit is contained in:
parent
6244e44999
commit
c0430f42b8
3
rpc.cpp
3
rpc.cpp
@ -1119,7 +1119,8 @@ Value listtransactions(const Array& params, bool fHelp)
|
||||
}
|
||||
|
||||
// Now: iterate backwards until we have nCount items to return:
|
||||
for (TxItems::reverse_iterator it = txByTime.rbegin(), std::advance(it, nFrom); it != txByTime.rend(); ++it)
|
||||
TxItems::reverse_iterator it = txByTime.rbegin();
|
||||
for (std::advance(it, nFrom); it != txByTime.rend(); ++it)
|
||||
{
|
||||
CWalletTx *const pwtx = (*it).second.first;
|
||||
if (pwtx != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user