diff options
| author | 2022-07-30 17:21:47 +0100 | |
|---|---|---|
| committer | 2022-07-30 19:15:41 +0100 | |
| commit | 3c455a8511f8c72552afb6ebe35a8e7c9b9af979 (patch) | |
| tree | 603c14aa8d8dfafb931cf3ca1b3503fdfc979528 /src/modules/m_monitor.cpp | |
| parent | Add support for clearing the target of a dynamic_reference. (diff) | |
Modernize various minor legacy C++isms.
Diffstat (limited to 'src/modules/m_monitor.cpp')
| -rw-r--r-- | src/modules/m_monitor.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/modules/m_monitor.cpp b/src/modules/m_monitor.cpp index def2c6f5e..3ca8030f1 100644 --- a/src/modules/m_monitor.cpp +++ b/src/modules/m_monitor.cpp @@ -23,18 +23,15 @@ #include "modules/isupport.h" #include "numericbuilder.h" -namespace IRCv3 +namespace IRCv3::Monitor { - namespace Monitor - { - class ExtItem; - struct Entry; - class Manager; - class ManagerInternal; + class ExtItem; + struct Entry; + class Manager; + class ManagerInternal; - typedef std::vector<Entry*> WatchedList; - typedef std::vector<LocalUser*> WatcherList; - } + typedef std::vector<Entry*> WatchedList; + typedef std::vector<LocalUser*> WatcherList; } struct IRCv3::Monitor::Entry final |
