summaryrefslogtreecommitdiff
path: root/src/core/hle/service/service.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-07-23 23:10:48 -0400
committerGravatar Lioncash2018-07-23 23:13:22 -0400
commit1d755abce43534aae22f1c8402c8476e2f1f8fec (patch)
tree7f83ccf765241740286ba49b6ed045070924b527 /src/core/hle/service/service.h
parentMerge pull request #790 from bunnei/shader-print-instr (diff)
downloadyuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.gz
yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.tar.xz
yuzu-1d755abce43534aae22f1c8402c8476e2f1f8fec.zip
core: Make converting constructors explicit where applicable
Avoids unwanted implicit conversions. Thankfully, given the large amount of cleanup in past PRs, only this tiny amount is left over to cover.
Diffstat (limited to 'src/core/hle/service/service.h')
-rw-r--r--src/core/hle/service/service.h2
1 files changed, 1 insertions, 1 deletions
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:
146 * @param max_sessions Maximum number of sessions that can be 146 * @param max_sessions Maximum number of sessions that can be
147 * connected to this service at the same time. 147 * connected to this service at the same time.
148 */ 148 */
149 ServiceFramework(const char* service_name, u32 max_sessions = DefaultMaxSessions) 149 explicit ServiceFramework(const char* service_name, u32 max_sessions = DefaultMaxSessions)
150 : ServiceFrameworkBase(service_name, max_sessions, Invoker) {} 150 : ServiceFrameworkBase(service_name, max_sessions, Invoker) {}
151 151
152 /// Registers handlers in the service. 152 /// Registers handlers in the service.