diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2015-09-24 18:37:13 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2015-09-24 18:37:13 +0200 |
| commit | 556692d4ed56767c25c0474984fb0ac1e7766d2c (patch) | |
| tree | b144e2d42a4ff108e68f6f90751a366f3f319ae0 /src/CmdFunctionRef.hpp | |
| parent | c2aea2aa5a3266d9eec054d83f8fb93afcf6cb99 (diff) | |
| download | manager-556692d4ed56767c25c0474984fb0ac1e7766d2c.tar.gz manager-556692d4ed56767c25c0474984fb0ac1e7766d2c.zip | |
Replace typedefs through using
Diffstat (limited to 'src/CmdFunctionRef.hpp')
| -rw-r--r-- | src/CmdFunctionRef.hpp | 2 |
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"}, |
