diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-24 13:47:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 13:47:26 +0200 |
commit | 23e85b6b9f9b8f835944dc45e543206655c92ba0 (patch) | |
tree | bdc20813bd7083fdb901bfb1e178dffc72ea2466 /src/core/hle/service | |
parent | Merge pull request #795 from lioncash/decl (diff) | |
parent | core: Make converting constructors explicit where applicable (diff) | |
download | yuzu-23e85b6b9f9b8f835944dc45e543206655c92ba0.tar yuzu-23e85b6b9f9b8f835944dc45e543206655c92ba0.tar.gz yuzu-23e85b6b9f9b8f835944dc45e543206655c92ba0.tar.bz2 yuzu-23e85b6b9f9b8f835944dc45e543206655c92ba0.tar.lz yuzu-23e85b6b9f9b8f835944dc45e543206655c92ba0.tar.xz yuzu-23e85b6b9f9b8f835944dc45e543206655c92ba0.tar.zst yuzu-23e85b6b9f9b8f835944dc45e543206655c92ba0.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/acc/acc.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/service.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index 3e1c2c0a0..0b158e015 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp @@ -35,7 +35,7 @@ static constexpr u128 DEFAULT_USER_ID{1ull, 0ull}; class IProfile final : public ServiceFramework<IProfile> { public: - IProfile(u128 user_id) : ServiceFramework("IProfile"), user_id(user_id) { + explicit IProfile(u128 user_id) : ServiceFramework("IProfile"), user_id(user_id) { static const FunctionInfo functions[] = { {0, nullptr, "Get"}, {1, &IProfile::GetBase, "GetBase"}, diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h index fee841d46..180f22703 100644 --- a/src/core/hle/service/service.h +++ b/src/core/hle/service/service.h @@ -146,7 +146,7 @@ protected: * @param max_sessions Maximum number of sessions that can be * connected to this service at the same time. */ - ServiceFramework(const char* service_name, u32 max_sessions = DefaultMaxSessions) + explicit ServiceFramework(const char* service_name, u32 max_sessions = DefaultMaxSessions) : ServiceFrameworkBase(service_name, max_sessions, Invoker) {} /// Registers handlers in the service. |