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:
@ -444,9 +444,9 @@ class ByteStream : public Serializeable
|
||||
3 * sizeof(uint32_t); // space for the BS magic & length & number of long strings.
|
||||
|
||||
// Methods to get and set `long strings`.
|
||||
EXPORT std::vector<boost::shared_array<uint8_t>>& getLongStrings();
|
||||
EXPORT const std::vector<boost::shared_array<uint8_t>>& getLongStrings() const;
|
||||
EXPORT void setLongStrings(const std::vector<boost::shared_array<uint8_t>>& other);
|
||||
EXPORT std::vector<std::shared_ptr<uint8_t[]>>& getLongStrings();
|
||||
EXPORT const std::vector<std::shared_ptr<uint8_t[]>>& getLongStrings() const;
|
||||
EXPORT void setLongStrings(const std::vector<std::shared_ptr<uint8_t[]>>& other);
|
||||
|
||||
friend class ::ByteStreamTestSuite;
|
||||
|
||||
@ -478,7 +478,7 @@ class ByteStream : public Serializeable
|
||||
uint8_t* fCurOutPtr; // the point in fBuf where data is extracted from next
|
||||
uint32_t fMaxLen; // how big fBuf is currently
|
||||
// Stores `long strings`.
|
||||
std::vector<boost::shared_array<uint8_t>> longStrings;
|
||||
std::vector<std::shared_ptr<uint8_t[]>> longStrings;
|
||||
};
|
||||
|
||||
template <int W, typename T = void>
|
||||
|
Reference in New Issue
Block a user