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
Remove boost shared array [develop 23.02] (#2812)
* remove boost/shared_array include * replace boost::shared_array<T> to std::shared_ptr<T[]>
This commit is contained in:
@ -29,7 +29,8 @@
|
||||
#include <stdint.h>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <boost/shared_array.hpp>
|
||||
#include <memory>
|
||||
|
||||
#include <atomic>
|
||||
|
||||
namespace utils
|
||||
@ -89,7 +90,7 @@ class PoolAllocator
|
||||
void* allocOOB(uint64_t size);
|
||||
|
||||
unsigned allocSize;
|
||||
std::vector<boost::shared_array<uint8_t> > mem;
|
||||
std::vector<std::shared_ptr<uint8_t[]>> mem;
|
||||
bool tmpSpace;
|
||||
unsigned capacityRemaining;
|
||||
uint64_t memUsage;
|
||||
@ -99,7 +100,7 @@ class PoolAllocator
|
||||
|
||||
struct OOBMemInfo
|
||||
{
|
||||
boost::shared_array<uint8_t> mem;
|
||||
std::shared_ptr<uint8_t[]> mem;
|
||||
uint64_t size;
|
||||
};
|
||||
typedef std::map<void*, OOBMemInfo> OutOfBandMap;
|
||||
|
Reference in New Issue
Block a user