From f317080f406c940198debdcc2deb1669707742f1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 19 Jul 2018 10:04:13 -0400 Subject: fsp_srv: Make IStorage constructor explicit Prevents implicit conversions. --- src/core/hle/service/filesystem/fsp_srv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle/service/filesystem') diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp index 6ef022ce0..4cb2d6909 100644 --- a/src/core/hle/service/filesystem/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp_srv.cpp @@ -33,7 +33,7 @@ enum class StorageId : u8 { class IStorage final : public ServiceFramework { 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"}, -- cgit v1.2.3