From b82b09310827f4b94fb42dfe8a0c64c47878c0c7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 12 Aug 2018 16:47:08 -0400 Subject: vfs: Make VfsFilesystem constructor explicit Makes it consistent with the other VFS interfaces and prevents implicit construction. --- src/core/file_sys/vfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.h index 3bbc361ba..78a63c59b 100644 --- a/src/core/file_sys/vfs.h +++ b/src/core/file_sys/vfs.h @@ -36,7 +36,7 @@ enum class VfsEntryType { // functionality, they will need to override. class VfsFilesystem : NonCopyable { public: - VfsFilesystem(VirtualDir root); + explicit VfsFilesystem(VirtualDir root); virtual ~VfsFilesystem(); // Gets the friendly name for the filesystem. -- cgit v1.2.3