Skip to content
Snippets Groups Projects
Commit f317080f authored by Lioncash's avatar Lioncash
Browse files

fsp_srv: Make IStorage constructor explicit

Prevents implicit conversions.
parent 910ad2e1
No related branches found
No related tags found
No related merge requests found
......@@ -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"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment