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