mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 14:07:37 +03:00
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
This commit is contained in:
parent
126a4bde61
commit
07d270c87e
709 changed files with 6305 additions and 6878 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue