You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
replace boost::shared_array<T> to std::shared_ptr<T[]>
This commit is contained in:
@ -24,10 +24,11 @@
|
||||
//#define NDEBUG
|
||||
#include <cassert>
|
||||
|
||||
|
||||
#include "poolallocator.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace boost;
|
||||
|
||||
|
||||
namespace utils
|
||||
{
|
||||
@ -51,7 +52,7 @@ void PoolAllocator::deallocateAll()
|
||||
|
||||
void PoolAllocator::newBlock()
|
||||
{
|
||||
shared_array<uint8_t> next;
|
||||
std::shared_ptr<uint8_t[]> next;
|
||||
|
||||
capacityRemaining = allocSize;
|
||||
|
||||
|
Reference in New Issue
Block a user