From 95e020ed77ff9c726ef5343dea95e4740e91cb6f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 24 Mar 2017 20:13:18 +0000 Subject: [PATCH] Remove some unneeded type declarations in AliasRegistry --- src/alias_registry.hh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/alias_registry.hh b/src/alias_registry.hh index 4d44c6c5..8fa277c3 100644 --- a/src/alias_registry.hh +++ b/src/alias_registry.hh @@ -16,9 +16,6 @@ public: void remove_alias(StringView alias); StringView operator[](StringView alias) const; - using AliasMap = HashMap; - using iterator = AliasMap::const_iterator; - Vector aliases_for(StringView command) const; private: @@ -26,7 +23,7 @@ private: AliasRegistry() {} SafePtr m_parent; - AliasMap m_aliases; + HashMap m_aliases; }; }