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

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.