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.
class VfsFilesystem : NonCopyable {
public:
VfsFilesystem(VirtualDir root);
explicit VfsFilesystem(VirtualDir root);
virtual ~VfsFilesystem();
// Gets the friendly name for the filesystem.