mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-03 09:19:24 +00:00
Code safety: BlockCache isn't supposed to be copied/moved
This commit is contained in:
parent
64885852dd
commit
cd532965e8
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ static constexpr char cache_name[] = "p2pool.cache";
|
|||
|
||||
namespace p2pool {
|
||||
|
||||
struct BlockCache::Impl
|
||||
struct BlockCache::Impl : public nocopy_nomove
|
||||
{
|
||||
#if defined(__linux__) || defined(__unix__) || defined(_POSIX_VERSION)
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ struct PoolBlock;
|
|||
class SideChain;
|
||||
class P2PServer;
|
||||
|
||||
class BlockCache
|
||||
class BlockCache : public nocopy_nomove
|
||||
{
|
||||
public:
|
||||
BlockCache();
|
||||
|
|
Loading…
Reference in a new issue