fs/io/FileOutputStream: disallow copying

This commit is contained in:
Max Kellermann 2018-09-03 14:36:01 +02:00
parent 0701333ec1
commit 19d9ce260a

View File

@ -105,6 +105,9 @@ public:
Cancel(); Cancel();
} }
FileOutputStream(const FileOutputStream &) = delete;
FileOutputStream &operator=(const FileOutputStream &) = delete;
public: public:
Path GetPath() const noexcept { Path GetPath() const noexcept {
return path; return path;