/*
- * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
void
testMem::testMemPool()
{
- MemAllocator *Pool = memPoolCreate("Test Pool", sizeof(SomethingToAlloc));
+ const auto Pool = memPoolCreate("Test Pool", sizeof(SomethingToAlloc));
CPPUNIT_ASSERT(Pool);
auto *something = static_cast<SomethingToAlloc *>(Pool->alloc());