diff options
| author | 2018-08-12 16:47:08 -0400 | |
|---|---|---|
| committer | 2018-08-12 16:55:40 -0400 | |
| commit | b82b09310827f4b94fb42dfe8a0c64c47878c0c7 (patch) | |
| tree | d3706e0785873f9ce5f4ce632bba5438885d6748 | |
| parent | vfs: Make type hierarchy objects classes instead of structs (diff) | |
| download | yuzu-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.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 { | |||
| 36 | // functionality, they will need to override. | 36 | // functionality, they will need to override. |
| 37 | class VfsFilesystem : NonCopyable { | 37 | class VfsFilesystem : NonCopyable { |
| 38 | public: | 38 | public: |
| 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. |