From 3c455a8511f8c72552afb6ebe35a8e7c9b9af979 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 30 Jul 2022 17:21:47 +0100 Subject: Modernize various minor legacy C++isms. --- src/modules/m_monitor.cpp | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'src/modules/m_monitor.cpp') 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 WatchedList; - typedef std::vector WatcherList; - } + typedef std::vector WatchedList; + typedef std::vector WatcherList; } struct IRCv3::Monitor::Entry final -- cgit v1.3.1-10-gc9f91