diff options
| author | 2021-10-04 17:07:51 +0100 | |
|---|---|---|
| committer | 2021-10-04 17:39:05 +0100 | |
| commit | dec5875aca7a2e0c281388db2f25d195ad9b2a3d (patch) | |
| tree | 0f8f741801677daa23e7f399282b64ecde137ad0 /src/modules/m_monitor.cpp | |
| parent | Mark all message tag provider classes as final. (diff) | |
Apply the final keyword to all module classes where appropriate.
Diffstat (limited to 'src/modules/m_monitor.cpp')
| -rw-r--r-- | src/modules/m_monitor.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/modules/m_monitor.cpp b/src/modules/m_monitor.cpp index 6dcb0e3dc..22377f0a6 100644 --- a/src/modules/m_monitor.cpp +++ b/src/modules/m_monitor.cpp @@ -36,7 +36,7 @@ namespace IRCv3 } } -struct IRCv3::Monitor::Entry +struct IRCv3::Monitor::Entry final { WatcherList watchers; std::string nick; @@ -53,12 +53,13 @@ struct IRCv3::Monitor::Entry class IRCv3::Monitor::Manager { - struct ExtData + struct ExtData final { WatchedList list; }; - class ExtItem : public ExtensionItem + class ExtItem final + : public ExtensionItem { Manager& manager; @@ -363,7 +364,7 @@ class CommandMonitor final } }; -class ModuleMonitor +class ModuleMonitor final : public Module , public ISupport::EventListener { |
