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:
@@ -45,8 +45,6 @@ private:
|
|||||||
Url getEmoteLink(const EmoteId &id, const QString &emoteScale);
|
Url getEmoteLink(const EmoteId &id, const QString &emoteScale);
|
||||||
UniqueAccess<std::unordered_map<EmoteId, std::weak_ptr<Emote>>>
|
UniqueAccess<std::unordered_map<EmoteId, std::weak_ptr<Emote>>>
|
||||||
twitchEmotesCache_;
|
twitchEmotesCache_;
|
||||||
|
|
||||||
std::mutex mutex_;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace chatterino
|
} // namespace chatterino
|
||||||
|
|||||||
Reference in New Issue
Block a user