diff options
author | Lioncash <mathew1800@gmail.com> | 2016-12-07 16:50:28 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-12-07 16:50:32 -0500 |
commit | d3f4fd1777c692702c6f56588c7035dff1c9046c (patch) | |
tree | abce799f3ceedd73ff5e3fd26d14bfb031787e8c /src | |
parent | c4e4fa53d9200bbac34a498d55cde381e3112764 (diff) |
applet: Make constructor protected
Considering the class is abstract, there's no need to make the constructor
public.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/applets/applet.h | 3 |
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 { 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. |