From 2492a0ba21b5191907e9bea9bd91e69a956f2b41 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 11 May 2019 13:59:03 +0200 Subject: [PATCH] reformat usernamset --- src/common/UsernameSet.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/UsernameSet.hpp b/src/common/UsernameSet.hpp index d71bcdaf6..0d37f8851 100644 --- a/src/common/UsernameSet.hpp +++ b/src/common/UsernameSet.hpp @@ -6,6 +6,7 @@ #include namespace chatterino { + class Prefix { public: @@ -19,9 +20,11 @@ private: friend struct std::hash; }; + } // namespace chatterino namespace std { + template <> struct hash { size_t operator()(const chatterino::Prefix &prefix) const @@ -30,9 +33,11 @@ struct hash { size_t(prefix.second.unicode()); } }; + } // namespace std namespace chatterino { + class UsernameSet { public: