From 648f813f8c89e6e7d0ed5bda2c2149bee2babb09 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 22 Jul 2022 18:33:38 +0100 Subject: Switch from NULL to nullptr. --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') diff --git a/src/command_parse.cpp b/src/command_parse.cpp index c74556ad3..afd071883 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -116,7 +116,7 @@ Command* CommandParser::GetHandler(const std::string &commandname) if (n != cmdlist.end()) return n->second; - return NULL; + return nullptr; } // calls a handler function for a command -- cgit v1.3.1-10-gc9f91