aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-04-12 15:11:02 +0200
committerRiccardo Spagni <ric@spagni.net>2018-04-12 15:11:02 +0200
commit41a66bf05b218c83797302b03af6c3975029c33e (patch)
treeef5cc001330b9ddc60d0bb19dd35c4507e641d1e /src
parentMerge pull request #3550 (diff)
parentblockchain_blackball: fix build with CLANG 5 (diff)
downloadmonero-41a66bf05b218c83797302b03af6c3975029c33e.tar.xz
Merge pull request #3619
3edef51d blockchain_blackball: fix build with CLANG 5 (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r--src/blockchain_utilities/blockchain_blackball.cpp3
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));