Skip to content

Commit

Permalink
fix string_view issue in ProtocolGame::parseSay (otland#4851)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturKnopik authored Nov 24, 2024
1 parent dcb9d92 commit 226a1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocolgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ void ProtocolGame::parseLookInBattleList(NetworkMessage& msg)

void ProtocolGame::parseSay(NetworkMessage& msg)
{
std::string_view receiver;
std::string receiver;
uint16_t channelId;

SpeakClasses type = static_cast<SpeakClasses>(msg.getByte());
Expand Down

0 comments on commit 226a1c7

Please sign in to comment.