vfs: Make VfsFilesystem constructor explicit
Makes it consistent with the other VFS interfaces and prevents implicit construction.
This commit is contained in:
parent
cf0a7cd1c1
commit
b82b093108
|
@ -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.
|
||||||
|
|
Reference in New Issue