diff options
| author | MarcoFalke <[email protected]> | 2017-01-30 13:13:07 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2017-01-30 13:13:20 +0100 |
| commit | 668de70be039a4f1ffcf20aeae2a22ee71fc55a8 (patch) | |
| tree | e6baaf60d95d75452af3ebacd57da5479d4a3ebd /src/miner.cpp | |
| parent | Merge #9626: Clean up a few CConnman cs_vNodes/CNode things (diff) | |
| parent | Refactor: Remove using namespace <xxx> from src/*.cpp. (diff) | |
| download | discoin-668de70be039a4f1ffcf20aeae2a22ee71fc55a8.tar.xz discoin-668de70be039a4f1ffcf20aeae2a22ee71fc55a8.zip | |
Merge #9644: [refactor] Remove using namespace <xxx> from src/
b7b48c8 Refactor: Remove using namespace <xxx> from src/*.cpp. (Karl-Johan Alm)
Diffstat (limited to 'src/miner.cpp')
| -rw-r--r-- | src/miner.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index acded9416..d01edd93b 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -31,8 +31,6 @@ #include <queue> #include <utility> -using namespace std; - ////////////////////////////////////////////////////////////////////////////// // // BitcoinMiner @@ -500,7 +498,7 @@ void BlockAssembler::addPackageTxs() } // Package can be added. Sort the entries in a valid order. - vector<CTxMemPool::txiter> sortedEntries; + std::vector<CTxMemPool::txiter> sortedEntries; SortForBlock(ancestors, iter, sortedEntries); for (size_t i=0; i<sortedEntries.size(); ++i) { @@ -529,7 +527,7 @@ void BlockAssembler::addPriorityTxs() fNeedSizeAccounting = true; // This vector will be sorted into a priority queue: - vector<TxCoinAgePriority> vecPriority; + std::vector<TxCoinAgePriority> vecPriority; TxCoinAgePriorityCompare pricomparer; std::map<CTxMemPool::txiter, double, CTxMemPool::CompareIteratorByHash> waitPriMap; typedef std::map<CTxMemPool::txiter, double, CTxMemPool::CompareIteratorByHash>::iterator waitPriIter; |