vfs: Make Vfs ctor explicit

This commit is contained in:
Christian Kamm 2018-11-26 13:03:39 +01:00 committed by Kevin Ottens
parent 305d439c41
commit d87c2b803d
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

@ -86,7 +86,7 @@ public:
static Optional<Mode> modeFromString(const QString &str);
public:
Vfs(QObject* parent = nullptr);
explicit Vfs(QObject* parent = nullptr);
virtual ~Vfs();
virtual Mode mode() const = 0;