Require -std=c++11 and use std::shared_ptr instead of SharedHandle

This commit is contained in:
Tatsuhiro Tsujikawa 2013-06-22 01:10:38 +09:00
parent 126a4bde61
commit 07d270c87e
709 changed files with 6305 additions and 6878 deletions

View file

@ -47,15 +47,15 @@ private:
size_t bytesProcessed_;
public:
ChunkedDecodingStreamFilter
(const SharedHandle<StreamFilter>& delegate = SharedHandle<StreamFilter>());
(const std::shared_ptr<StreamFilter>& delegate = std::shared_ptr<StreamFilter>());
virtual ~ChunkedDecodingStreamFilter();
virtual void init();
virtual ssize_t transform
(const SharedHandle<BinaryStream>& out,
const SharedHandle<Segment>& segment,
(const std::shared_ptr<BinaryStream>& out,
const std::shared_ptr<Segment>& segment,
const unsigned char* inbuf, size_t inlen);
virtual bool finished();