Remove unused mutex from Emotes (#3943)

The mutex was initially used to limit access to the twitchEmotesCache_ member
but it's no longer necessary since it's been made a UniqueAccess type
This commit is contained in:
pajlada 2022-09-03 13:01:56 +02:00 committed by GitHub
parent d849b978e2
commit a9fc9f949f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,8 +45,6 @@ private:
Url getEmoteLink(const EmoteId &id, const QString &emoteScale);
UniqueAccess<std::unordered_map<EmoteId, std::weak_ptr<Emote>>>
twitchEmotesCache_;
std::mutex mutex_;
};
} // namespace chatterino