mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 19:39:22 +00:00
Fixed cppcheck error
This commit is contained in:
parent
572d2251d7
commit
f6cc7abac9
2 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ void BlockCache::store(const PoolBlock& block)
|
|||
memcpy(data + sizeof(uint32_t) + n1, sidechain_data.data(), n2);
|
||||
}
|
||||
|
||||
void BlockCache::load_all(SideChain& side_chain, P2PServer& server)
|
||||
void BlockCache::load_all(const SideChain& side_chain, P2PServer& server)
|
||||
{
|
||||
if (!m_impl->m_data) {
|
||||
return;
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
~BlockCache();
|
||||
|
||||
void store(const PoolBlock& block);
|
||||
void load_all(SideChain& side_chain, P2PServer& server);
|
||||
void load_all(const SideChain& side_chain, P2PServer& server);
|
||||
void flush();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue