diff options
| author | 2018-07-19 10:04:13 -0400 | |
|---|---|---|
| committer | 2018-07-19 10:04:16 -0400 | |
| commit | f317080f406c940198debdcc2deb1669707742f1 (patch) | |
| tree | 2ef6c6ab4a2f150e1658f2582a751ecc1af87980 /src | |
| parent | fsp_srv: Add missing includes (diff) | |
| download | yuzu-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.cpp | 2 |
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 | ||
| 34 | class IStorage final : public ServiceFramework<IStorage> { | 34 | class IStorage final : public ServiceFramework<IStorage> { |
| 35 | public: | 35 | public: |
| 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"}, |