From d3f4fd1777c692702c6f56588c7035dff1c9046c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 7 Dec 2016 16:50:28 -0500 Subject: [PATCH] applet: Make constructor protected Considering the class is abstract, there's no need to make the constructor public. --- src/core/hle/applets/applet.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/hle/applets/applet.h b/src/core/hle/applets/applet.h index bfdcad126..b7594d100 100644 --- a/src/core/hle/applets/applet.h +++ b/src/core/hle/applets/applet.h @@ -14,7 +14,6 @@ namespace Applets { class Applet { public: virtual ~Applet() {} - Applet(Service::APT::AppletId id) : id(id) {} /** * Creates an instance of the Applet subclass identified by the parameter. @@ -56,6 +55,8 @@ public: virtual void Update() = 0; protected: + explicit Applet(Service::APT::AppletId id) : id(id) {} + /** * Handles the Applet start event, triggered from the application. * @param parameter Parameter data to handle.