// TODO: make pool id more unique so it does not conflict with other Squids?
static const char *PagePoolId = "squid-page-pool";
-static Ipc::Mem::PagePool *ThePagePool = 0;
+static Ipc::Mem::PagePool *ThePagePool = nullptr;
static int TheLimits[Ipc::Mem::PageId::maxPurpose+1];
// TODO: make configurable to avoid waste when mem-cached objects are small/big
{
public:
/* RegisteredRunner API */
- SharedMemPagesRr(): owner(NULL) {}
+ SharedMemPagesRr(): owner(nullptr) {}
virtual void useConfig();
virtual void create();
virtual void open();
SharedMemPagesRr::~SharedMemPagesRr()
{
delete ThePagePool;
- ThePagePool = NULL;
+ ThePagePool = nullptr;
delete owner;
}