aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hidemode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hidemode.cpp')
-rw-r--r--modules/hidemode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/hidemode.cpp b/modules/hidemode.cpp
index 95d8a3459..c3ee69da7 100644
--- a/modules/hidemode.cpp
+++ b/modules/hidemode.cpp
@@ -27,7 +27,7 @@ namespace
{
class Settings final
{
- typedef insp::flat_map<std::string, ModeHandler::Rank> RanksToSeeMap;
+ using RanksToSeeMap = insp::flat_map<std::string, ModeHandler::Rank>;
RanksToSeeMap rankstosee;
public:
@@ -63,7 +63,7 @@ public:
class ModeHook final
: public ClientProtocol::EventHook
{
- typedef insp::flat_map<ModeHandler::Rank, const ClientProtocol::MessageList*> FilteredModeMap;
+ using FilteredModeMap = insp::flat_map<ModeHandler::Rank, const ClientProtocol::MessageList*>;
std::vector<Modes::ChangeList> modechangelists;
std::list<ClientProtocol::Messages::Mode> filteredmodelist;