summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar Lioncash2016-12-07 16:50:28 -0500
committerGravatar Lioncash2016-12-07 16:50:32 -0500
commitd3f4fd1777c692702c6f56588c7035dff1c9046c (patch)
treeabce799f3ceedd73ff5e3fd26d14bfb031787e8c /src/core/hle
parentImplement Frame rate limiter (#2223) (diff)
downloadyuzu-d3f4fd1777c692702c6f56588c7035dff1c9046c.tar.gz
yuzu-d3f4fd1777c692702c6f56588c7035dff1c9046c.tar.xz
yuzu-d3f4fd1777c692702c6f56588c7035dff1c9046c.zip
applet: Make constructor protected
Considering the class is abstract, there's no need to make the constructor public.
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/applets/applet.h3
1 files changed, 2 insertions, 1 deletions
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 {
14class Applet { 14class Applet {
15public: 15public:
16 virtual ~Applet() {} 16 virtual ~Applet() {}
17 Applet(Service::APT::AppletId id) : id(id) {}
18 17
19 /** 18 /**
20 * Creates an instance of the Applet subclass identified by the parameter. 19 * Creates an instance of the Applet subclass identified by the parameter.
@@ -56,6 +55,8 @@ public:
56 virtual void Update() = 0; 55 virtual void Update() = 0;
57 56
58protected: 57protected:
58 explicit Applet(Service::APT::AppletId id) : id(id) {}
59
59 /** 60 /**
60 * Handles the Applet start event, triggered from the application. 61 * Handles the Applet start event, triggered from the application.
61 * @param parameter Parameter data to handle. 62 * @param parameter Parameter data to handle.