diff options
| author | 2026-03-26 22:24:16 +0000 | |
|---|---|---|
| committer | 2026-03-26 22:24:16 +0000 | |
| commit | cd2d667ca7d3d31dbcf1f3bf0717b744b11ec776 (patch) | |
| tree | 2d510e98b89d9fb7a74b7ed44dede89ef5d3b50e /modules/callerid.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
Switch typedefs to using statements.
Diffstat (limited to 'modules/callerid.cpp')
| -rw-r--r-- | modules/callerid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/callerid.cpp b/modules/callerid.cpp index bd99e9103..23410a594 100644 --- a/modules/callerid.cpp +++ b/modules/callerid.cpp @@ -49,8 +49,8 @@ enum class callerid_data final { public: - typedef insp::flat_set<User*> UserSet; - typedef std::vector<callerid_data*> CallerIdDataSet; + using UserSet = insp::flat_set<User*>; + using CallerIdDataSet = std::vector<callerid_data*>; time_t lastnotify = 0; @@ -162,7 +162,7 @@ class CommandAccept final { /** Pair: first is the target, second is true to add, false to remove */ - typedef std::pair<User*, bool> ACCEPTAction; + using ACCEPTAction = std::pair<User*, bool>; static ACCEPTAction GetTargetAndAction(const std::string& token, User* cmdfrom = nullptr) { |
