mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-12 17:22:27 +00:00
fsp_srv: Make IStorage constructor explicit
Prevents implicit conversions.
This commit is contained in:
parent
910ad2e110
commit
f317080f40
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ enum class StorageId : u8 {
|
|||
|
||||
class IStorage final : public ServiceFramework<IStorage> {
|
||||
public:
|
||||
IStorage(FileSys::VirtualFile backend_)
|
||||
explicit IStorage(FileSys::VirtualFile backend_)
|
||||
: ServiceFramework("IStorage"), backend(std::move(backend_)) {
|
||||
static const FunctionInfo functions[] = {
|
||||
{0, &IStorage::Read, "Read"}, {1, nullptr, "Write"}, {2, nullptr, "Flush"},
|
||||
|
|
Loading…
Reference in a new issue