aboutsummaryrefslogtreecommitdiff
path: root/modules/monitor.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-26 22:24:16 +0000
committerGravatar Sadie Powell2026-03-26 22:24:16 +0000
commitcd2d667ca7d3d31dbcf1f3bf0717b744b11ec776 (patch)
tree2d510e98b89d9fb7a74b7ed44dede89ef5d3b50e /modules/monitor.cpp
parentMerge branch 'insp4' into master. (diff)
Switch typedefs to using statements.
Diffstat (limited to 'modules/monitor.cpp')
-rw-r--r--modules/monitor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/monitor.cpp b/modules/monitor.cpp
index a36367a7f..5255c79b2 100644
--- a/modules/monitor.cpp
+++ b/modules/monitor.cpp
@@ -34,8 +34,8 @@ namespace IRCv3::Monitor
class Manager;
class ManagerInternal;
- typedef std::vector<Entry*> WatchedList;
- typedef std::vector<LocalUser*> WatcherList;
+ using WatchedList = std::vector<Entry*>;
+ using WatcherList = std::vector<LocalUser*>;
}
struct IRCv3::Monitor::Entry final
@@ -261,7 +261,7 @@ enum
class CommandMonitor final
: public SplitCommand
{
- typedef Numeric::Builder<> ReplyBuilder;
+ using ReplyBuilder = Numeric::Builder<>;
// Additional penalty for the /MONITOR L and /MONITOR S commands that request a list from the server
static constexpr unsigned int ListPenalty = 3000;