From 556692d4ed56767c25c0474984fb0ac1e7766d2c Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Thu, 24 Sep 2015 18:37:13 +0200 Subject: Replace typedefs through using --- src/CmdFunctionRef.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CmdFunctionRef.hpp') diff --git a/src/CmdFunctionRef.hpp b/src/CmdFunctionRef.hpp index f862823..b57dd8d 100644 --- a/src/CmdFunctionRef.hpp +++ b/src/CmdFunctionRef.hpp @@ -16,7 +16,7 @@ enum UserType { Max = Moderator }; -typedef void (CRSM::*CmdFunction)(const QString&, const QString&, const ClientInfo&, UserType); +using CmdFunction = void (CRSM::*)(const QString&, const QString&, const ClientInfo&, UserType); const QMap userTypeStrings { {User, "Benutzer"}, -- cgit v1.2.3-54-g00ecf