removed unused function

This commit is contained in:
fourtf
2019-08-13 13:02:11 +02:00
parent 23f1ec9ac2
commit 96532be765
2 changed files with 4 additions and 10 deletions
+3 -4
View File
@@ -7,7 +7,6 @@
#include "common/Aliases.hpp"
#include "common/UniqueAccess.hpp"
#include "providers/twitch/TwitchEmotes.hpp"
#define TWITCH_EMOTE_TEMPLATE \
"https://static-cdn.jtvnw.net/emoticons/v1/{id}/{scale}"
@@ -36,13 +35,13 @@ public:
TwitchEmotes();
EmotePtr getOrCreateEmote(const EmoteId &id, const EmoteName &name);
Url getEmoteLink(const EmoteId &id, const QString &emoteScale);
AccessGuard<std::unordered_map<EmoteName, EmotePtr>> accessAll();
private:
UniqueAccess<std::unordered_map<EmoteName, EmotePtr>> twitchEmotes_;
Url getEmoteLink(const EmoteId &id, const QString &emoteScale);
UniqueAccess<std::unordered_map<EmoteId, std::weak_ptr<Emote>>>
twitchEmotesCache_;
std::mutex mutex_;
};
} // namespace chatterino