From 40035385c6ecee61de82b18ff5f823a1ef4db871 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 18 Jan 2022 14:33:06 +0000 Subject: Add constexpr to the initialisation of various const static fields. --- src/modules/m_monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_monitor.cpp') diff --git a/src/modules/m_monitor.cpp b/src/modules/m_monitor.cpp index b3dca5bc1..0972e369f 100644 --- a/src/modules/m_monitor.cpp +++ b/src/modules/m_monitor.cpp @@ -266,7 +266,7 @@ class CommandMonitor final { typedef Numeric::Builder<> ReplyBuilder; // Additional penalty for the /MONITOR L and /MONITOR S commands that request a list from the server - static const unsigned int ListPenalty = 3000; + static constexpr unsigned int ListPenalty = 3000; IRCv3::Monitor::Manager& manager; -- cgit v1.3.1-10-gc9f91