summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-12 16:47:08 -0400
committerGravatar Lioncash2018-08-12 16:55:40 -0400
commitb82b09310827f4b94fb42dfe8a0c64c47878c0c7 (patch)
treed3706e0785873f9ce5f4ce632bba5438885d6748
parentvfs: Make type hierarchy objects classes instead of structs (diff)
downloadyuzu-b82b09310827f4b94fb42dfe8a0c64c47878c0c7.tar.gz
yuzu-b82b09310827f4b94fb42dfe8a0c64c47878c0c7.tar.xz
yuzu-b82b09310827f4b94fb42dfe8a0c64c47878c0c7.zip
vfs: Make VfsFilesystem constructor explicit
Makes it consistent with the other VFS interfaces and prevents implicit construction.
-rw-r--r--src/core/file_sys/vfs.h2
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 {
36// functionality, they will need to override. 36// functionality, they will need to override.
37class VfsFilesystem : NonCopyable { 37class VfsFilesystem : NonCopyable {
38public: 38public:
39 VfsFilesystem(VirtualDir root); 39 explicit VfsFilesystem(VirtualDir root);
40 virtual ~VfsFilesystem(); 40 virtual ~VfsFilesystem();
41 41
42 // Gets the friendly name for the filesystem. 42 // Gets the friendly name for the filesystem.