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

@@ -38,7 +38,7 @@ class TextFile {
BufferedReader *const buffered_reader;
public:
TextFile(Path path_fs);
explicit TextFile(Path path_fs);
TextFile(const TextFile &other) = delete;