diff options
| author | Gavin Andresen <[email protected]> | 2011-05-09 13:31:10 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-05-09 13:31:10 -0400 |
| commit | c0430f42b868dbf996a416d3a9d81d1c8c07e47c (patch) | |
| tree | f0aace1236be78c568ac206b6a7caeaff43187d9 | |
| parent | Merge pull request #160 from CAFxX/listtransactions-from (diff) | |
| download | discoin-c0430f42b868dbf996a416d3a9d81d1c8c07e47c.tar.xz discoin-c0430f42b868dbf996a416d3a9d81d1c8c07e47c.zip | |
Fix broken build (invalid use of qualified name std::advance)
| -rw-r--r-- | rpc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |