forked from ShuriZma/suyu
1
0
Fork 0

vfs: Make VfsFilesystem constructor explicit

Makes it consistent with the other VFS interfaces and prevents implicit
construction.
This commit is contained in:
Lioncash 2018-08-12 16:47:08 -04:00
parent cf0a7cd1c1
commit b82b093108
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ enum class VfsEntryType {
// functionality, they will need to override. // functionality, they will need to override.
class VfsFilesystem : NonCopyable { class VfsFilesystem : NonCopyable {
public: public:
VfsFilesystem(VirtualDir root); explicit VfsFilesystem(VirtualDir root);
virtual ~VfsFilesystem(); virtual ~VfsFilesystem();
// Gets the friendly name for the filesystem. // Gets the friendly name for the filesystem.