mirror of https://github.com/aria2/aria2
Don't allow copying BufferedFile
parent
190d170076
commit
6034474550
|
@ -70,6 +70,10 @@ public:
|
|||
// Mode for writing
|
||||
static const std::string WRITE;
|
||||
private:
|
||||
// Don't allow copying
|
||||
BufferedFile(const BufferedFile&);
|
||||
BufferedFile& operator=(const BufferedFile&);
|
||||
|
||||
FILE* fp_;
|
||||
// true when file has been opened.
|
||||
bool open_;
|
||||
|
|
Loading…
Reference in New Issue