vfs: Make Vfs ctor explicit
authorChristian Kamm <mail@ckamm.de>
Mon, 26 Nov 2018 12:03:39 +0000 (13:03 +0100)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:27 +0000 (10:58 +0100)
src/common/vfs.h

index 7803eabc7039af33c96d8b16ab8de5b07385faeb..727c062731adc1b09ceaafb9850234af8d36f095 100644 (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;