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_watch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_watch.cpp') diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index b00727e02..8408db834 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -48,7 +48,7 @@ class CommandWatch final : public SplitCommand { // Additional penalty for /WATCH commands that request a list from the server - static const unsigned int ListPenalty = 4000; + static constexpr unsigned int ListPenalty = 4000; IRCv3::Monitor::Manager& manager; -- cgit v1.3.1-10-gc9f91