fs/io/*: make constructors "explicit"

This commit is contained in:
Max Kellermann
2017-01-04 10:37:55 +01:00
parent 288b98ccbf
commit 8aae9766e5
10 changed files with 10 additions and 10 deletions

View File

@@ -88,7 +88,7 @@ private:
Mode mode;
public:
FileOutputStream(Path _path, Mode _mode=Mode::CREATE);
explicit FileOutputStream(Path _path, Mode _mode=Mode::CREATE);
~FileOutputStream() {
if (IsDefined())