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 | |
| parent | c2aea2aa5a3266d9eec054d83f8fb93afcf6cb99 (diff) | |
| download | manager-556692d4ed56767c25c0474984fb0ac1e7766d2c.tar.gz manager-556692d4ed56767c25c0474984fb0ac1e7766d2c.zip | |
Replace typedefs through using
| -rw-r--r-- | src/CmdFunctionRef.hpp | 2 | ||||
| -rw-r--r-- | src/crsm.hpp | 2 |
2 files changed, 2 insertions, 2 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"}, diff --git a/src/crsm.hpp b/src/crsm.hpp index c1d655d..43a15ae 100644 --- a/src/crsm.hpp +++ b/src/crsm.hpp @@ -37,7 +37,7 @@ #endif class CRSM; -typedef void (CRSM::*IrcCheckCallback)(const ClientInfo&, int, const ClientInfo&); +using IrcCheckCallback = void (CRSM::*)(const ClientInfo&, int, const ClientInfo&); class ScenarioSettings { public: |
