File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lang/c++/include/avro/buffer/detail Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1919#ifndef avro_BufferDetail_hh__
2020#define avro_BufferDetail_hh__
2121
22- #include < boost/shared_array.hpp>
2322#ifdef HAVE_BOOST_ASIO
2423#include < boost/asio/buffer.hpp>
2524#endif
2625#include < cassert>
2726#include < deque>
2827#include < exception>
28+ #include < functional>
29+ #include < memory>
2930#include < utility>
3031
3132/* *
@@ -157,7 +158,7 @@ private:
157158 friend bool operator !=(const Chunk &lhs, const Chunk &rhs);
158159
159160 // more than one buffer can share an underlying block, so use SharedPtr
160- boost::shared_array <data_type> underlyingBlock_;
161+ std::shared_ptr <data_type[] > underlyingBlock_;
161162
162163 data_type *readPos_; // /< The first readable byte in the block
163164 data_type *writePos_; // /< The end of written data and start of free space
You can’t perform that action at this time.
0 commit comments