delete copy ctor on FileStream

master
Daniel Kolesa 2015-06-26 21:20:05 +01:00
parent 45e468fed3
commit 55d09cb437
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ namespace detail {
struct FileStream: Stream {
FileStream(): p_f() {}
FileStream(const FileStream &s): p_f(s.p_f) {}
FileStream(const FileStream &s) = delete;
FileStream(const octa::String &path, StreamMode mode): p_f() {
open(path, mode);