#include <map>
#include <list>
-#include <boost/shared_array.hpp>
+#include <memory>
#include <QMutex>
#include <QtCore/qsharedpointer.h>
#include <QSharedPointer>
class BufferPool;
/**
- * Buffer object, extends boost shared_array with a size and capacity property.
+ * Buffer object, extends boost stdarray with a size and capacity property.
**/
class KTORRENT_EXPORT Buffer
{
public:
typedef QSharedPointer<Buffer> Ptr;
- typedef boost::shared_array<bt::Uint8> Data;
+ typedef std::shared_ptr<bt::Uint8> Data;
Buffer(Data data, bt::Uint32 fill, bt::Uint32 cap, QWeakPointer<BufferPool> pool);
virtual ~Buffer();