Commit 19d9ce26 authored by Max Kellermann's avatar Max Kellermann

fs/io/FileOutputStream: disallow copying

parent 0701333e
...@@ -105,6 +105,9 @@ public: ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment