summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-19 10:04:13 -0400
committerLioncash <mathew1800@gmail.com>2018-07-19 10:04:16 -0400
commitf317080f406c940198debdcc2deb1669707742f1 (patch)
tree2ef6c6ab4a2f150e1658f2582a751ecc1af87980
parent910ad2e11048f4d53751b556d6a2e3284909a892 (diff)
fsp_srv: Make IStorage constructor explicit
Prevents implicit conversions.
-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 {
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"},