diff options
| author | 2016-12-07 16:50:28 -0500 | |
|---|---|---|
| committer | 2016-12-07 16:50:32 -0500 | |
| commit | d3f4fd1777c692702c6f56588c7035dff1c9046c (patch) | |
| tree | abce799f3ceedd73ff5e3fd26d14bfb031787e8c /src/core/hle | |
| parent | Implement Frame rate limiter (#2223) (diff) | |
| download | yuzu-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.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 { | |||
| 14 | class Applet { | 14 | class Applet { |
| 15 | public: | 15 | public: |
| 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 | ||
| 58 | protected: | 57 | protected: |
| 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. |