mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 21:57:46 +00:00
Merge pull request #3618
3367ed86
blockchain_blackball: fix build with CLANG 5 (moneromooo-monero)
This commit is contained in:
commit
1f96755ddc
1 changed files with 2 additions and 1 deletions
|
@ -253,7 +253,8 @@ int main(int argc, char* argv[])
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
std::vector<std::unique_ptr<Blockchain>> core_storage(inputs.size());
|
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)
|
for (size_t n = 0; n < inputs.size(); ++n)
|
||||||
{
|
{
|
||||||
core_storage[n].reset(new Blockchain(m_mempool));
|
core_storage[n].reset(new Blockchain(m_mempool));
|
||||||
|
|
Loading…
Reference in a new issue