mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-03-24 08:09:02 +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);
|
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) {
|
if (!m_impl->m_data) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -30,7 +30,7 @@ public:
|
||||||
~BlockCache();
|
~BlockCache();
|
||||||
|
|
||||||
void store(const PoolBlock& block);
|
void store(const PoolBlock& block);
|
||||||
void load_all(SideChain& side_chain, P2PServer& server);
|
void load_all(const SideChain& side_chain, P2PServer& server);
|
||||||
void flush();
|
void flush();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue