General cleanups/reformats

- Clean up imports
- Comment EmojiData
- Reorder TwitchAccount constructor
- Fix typo in TwitchChannel
- Add emoji parsing test code at the bottom of EmoteManager
This commit is contained in:
Rasmus Karlsson
2018-03-31 13:44:15 +02:00
committed by fourtf
parent c382fdc528
commit 964e1f249a
17 changed files with 118 additions and 64 deletions
+2 -4
View File
@@ -9,9 +9,7 @@ namespace chatterino {
namespace util {
struct EmoteData {
EmoteData()
{
}
EmoteData() = default;
EmoteData(messages::Image *_image)
: image1x(_image)
@@ -29,7 +27,7 @@ struct EmoteData {
messages::Image *image3x = nullptr;
};
typedef ConcurrentMap<QString, EmoteData> EmoteMap;
using EmoteMap = ConcurrentMap<QString, EmoteData>;
} // namespace util
} // namespace chatterino