diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-12 16:47:08 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-12 16:55:40 -0400 |
commit | b82b09310827f4b94fb42dfe8a0c64c47878c0c7 (patch) | |
tree | d3706e0785873f9ce5f4ce632bba5438885d6748 /src | |
parent | cf0a7cd1c16b91fc295edc90a7a1d92d5e056f8a (diff) |
vfs: Make VfsFilesystem constructor explicit
Makes it consistent with the other VFS interfaces and prevents implicit
construction.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/file_sys/vfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |