aboutsummaryrefslogtreecommitdiff
path: root/modules/callerid.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-26 22:24:16 +0000
committerGravatar Sadie Powell2026-03-26 22:24:16 +0000
commitcd2d667ca7d3d31dbcf1f3bf0717b744b11ec776 (patch)
tree2d510e98b89d9fb7a74b7ed44dede89ef5d3b50e /modules/callerid.cpp
parentMerge branch 'insp4' into master. (diff)
Switch typedefs to using statements.
Diffstat (limited to 'modules/callerid.cpp')
-rw-r--r--modules/callerid.cpp6
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)
{