From 226a1c79b524a305f003c0cead25e472fe146b84 Mon Sep 17 00:00:00 2001 From: KrecikOnDexin Date: Sun, 24 Nov 2024 01:58:55 +0100 Subject: [PATCH] fix string_view issue in ProtocolGame::parseSay (#4851) --- src/protocolgame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocolgame.cpp b/src/protocolgame.cpp index 8dda4ff622..b72564b5a0 100644 --- a/src/protocolgame.cpp +++ b/src/protocolgame.cpp @@ -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(msg.getByte());