summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-07-19 10:04:13 -0400
committerGravatar Lioncash2018-07-19 10:04:16 -0400
commitf317080f406c940198debdcc2deb1669707742f1 (patch)
tree2ef6c6ab4a2f150e1658f2582a751ecc1af87980 /src
parentfsp_srv: Add missing includes (diff)
downloadyuzu-f317080f406c940198debdcc2deb1669707742f1.tar.gz
yuzu-f317080f406c940198debdcc2deb1669707742f1.tar.xz
yuzu-f317080f406c940198debdcc2deb1669707742f1.zip
fsp_srv: Make IStorage constructor explicit
Prevents implicit conversions.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp2
1 files changed, 1 insertions, 1 deletions
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 {
33 33
34class IStorage final : public ServiceFramework<IStorage> { 34class IStorage final : public ServiceFramework<IStorage> {
35public: 35public:
36 IStorage(FileSys::VirtualFile backend_) 36 explicit IStorage(FileSys::VirtualFile backend_)
37 : ServiceFramework("IStorage"), backend(std::move(backend_)) { 37 : ServiceFramework("IStorage"), backend(std::move(backend_)) {
38 static const FunctionInfo functions[] = { 38 static const FunctionInfo functions[] = {
39 {0, &IStorage::Read, "Read"}, {1, nullptr, "Write"}, {2, nullptr, "Flush"}, 39 {0, &IStorage::Read, "Read"}, {1, nullptr, "Write"}, {2, nullptr, "Flush"},