summaryrefslogtreecommitdiffstats
path: root/src
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
parentc2aea2aa5a3266d9eec054d83f8fb93afcf6cb99 (diff)
downloadmanager-556692d4ed56767c25c0474984fb0ac1e7766d2c.tar.gz
manager-556692d4ed56767c25c0474984fb0ac1e7766d2c.zip
Replace typedefs through using
Diffstat (limited to 'src')
-rw-r--r--src/CmdFunctionRef.hpp2
-rw-r--r--src/crsm.hpp2
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: