Use "final" and "override" where appropriate (#117)

This commit is contained in:
Tony Wasserka
2018-06-03 05:46:27 +00:00
committed by SciresM
parent bb636dc05a
commit edc099f026
14 changed files with 67 additions and 67 deletions

View File

@@ -7,7 +7,7 @@
#define SYSTEMEVENT_INDEX_WAITHANDLE 0
#define SYSTEMEVENT_INDEX_SGNLHANDLE 1
class SystemEvent : public IEvent {
class SystemEvent final : public IEvent {
public:
SystemEvent(EventCallback callback) : IEvent(0, callback) {
Handle wait_h;
@@ -20,7 +20,7 @@ class SystemEvent : public IEvent {
this->handles.push_back(sig_h);
}
virtual Result signal_event() {
Result signal_event() override {
return svcSignalEvent(this->handles[SYSTEMEVENT_INDEX_SGNLHANDLE]);
}
};
};