diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-04-12 15:10:21 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-04-12 15:10:21 +0200 |
commit | 1f96755ddc7c6c0850f7fa228d43427287cb2323 (patch) | |
tree | 82a38d610d87dfc0ebb6a660f3a5424b4ecb400c | |
parent | Merge pull request #3616 (diff) | |
parent | blockchain_blackball: fix build with CLANG 5 (diff) | |
download | monero-1f96755ddc7c6c0850f7fa228d43427287cb2323.tar.xz |
Merge pull request #3618
3367ed86 blockchain_blackball: fix build with CLANG 5 (moneromooo-monero)
-rw-r--r-- | src/blockchain_utilities/blockchain_blackball.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blockchain_utilities/blockchain_blackball.cpp b/src/blockchain_utilities/blockchain_blackball.cpp index 40ce898d9..1243822bb 100644 --- a/src/blockchain_utilities/blockchain_blackball.cpp +++ b/src/blockchain_utilities/blockchain_blackball.cpp @@ -253,7 +253,8 @@ int main(int argc, char* argv[]) return 1; } std::vector<std::unique_ptr<Blockchain>> core_storage(inputs.size()); - tx_memory_pool m_mempool(*(Blockchain*)NULL); + Blockchain *blockchain = NULL; + tx_memory_pool m_mempool(*blockchain); for (size_t n = 0; n < inputs.size(); ++n) { core_storage[n].reset(new Blockchain(m_mempool)); |