summaryrefslogtreecommitdiffstats
path: root/src/CmdFunctionRef.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2015-09-24 18:37:13 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2015-09-24 18:37:13 +0200
commit556692d4ed56767c25c0474984fb0ac1e7766d2c (patch)
treeb144e2d42a4ff108e68f6f90751a366f3f319ae0 /src/CmdFunctionRef.hpp
parentc2aea2aa5a3266d9eec054d83f8fb93afcf6cb99 (diff)
downloadmanager-556692d4ed56767c25c0474984fb0ac1e7766d2c.tar.gz
manager-556692d4ed56767c25c0474984fb0ac1e7766d2c.zip
Replace typedefs through using
Diffstat (limited to 'src/CmdFunctionRef.hpp')
-rw-r--r--src/CmdFunctionRef.hpp2
1 files changed, 1 insertions, 1 deletions
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<UserType, QString> userTypeStrings {
{User, "Benutzer"},