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:
@ -152,17 +152,17 @@ void ByteStream::growBuf(uint32_t toSize)
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<boost::shared_array<uint8_t>>& ByteStream::getLongStrings()
|
||||
std::vector<std::shared_ptr<uint8_t[]>>& ByteStream::getLongStrings()
|
||||
{
|
||||
return longStrings;
|
||||
}
|
||||
|
||||
const std::vector<boost::shared_array<uint8_t>>& ByteStream::getLongStrings() const
|
||||
const std::vector<std::shared_ptr<uint8_t[]>>& ByteStream::getLongStrings() const
|
||||
{
|
||||
return longStrings;
|
||||
}
|
||||
|
||||
void ByteStream::setLongStrings(const std::vector<boost::shared_array<uint8_t>>& other)
|
||||
void ByteStream::setLongStrings(const std::vector<std::shared_ptr<uint8_t[]>>& other)
|
||||
{
|
||||
longStrings = other;
|
||||
}
|
||||
|
Reference in New Issue
Block a user