mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Changed to ref for better performance
This commit is contained in:
parent
c60b717b98
commit
8d80eab649
|
@ -269,7 +269,7 @@ std::shared_ptr<Channel> TwitchServer::getChannelOrEmptyByID(
|
|||
continue;
|
||||
|
||||
if (twitchChannel->roomId() == channelId &&
|
||||
twitchChannel->getName().split(":").size() < 3)
|
||||
twitchChannel->getName().splitRef(":").size() < 3)
|
||||
{
|
||||
return twitchChannel;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue