aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_monitor.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-07-30 17:21:47 +0100
committerGravatar Sadie Powell2022-07-30 19:15:41 +0100
commit3c455a8511f8c72552afb6ebe35a8e7c9b9af979 (patch)
tree603c14aa8d8dfafb931cf3ca1b3503fdfc979528 /src/modules/m_monitor.cpp
parentAdd 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.cpp17
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