Skip to content

Commit 6dd305c

Browse files
authored
Merge pull request #3509 from apple/🍒/FBI/6d48e2505c7a
[lldb] Use std::string instead of llvm::Twine in GDBRemoteCommunicationClient
2 parents 7439524 + 4301f82 commit 6dd305c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,9 +1075,8 @@ void GDBRemoteCommunicationClient::MaybeEnableCompression(
10751075

10761076
if (avail_type != CompressionType::None) {
10771077
StringExtractorGDBRemote response;
1078-
llvm::Twine packet = "QEnableCompression:type:" + avail_name + ";";
1079-
if (SendPacketAndWaitForResponse(packet.str(), response) !=
1080-
PacketResult::Success)
1078+
std::string packet = "QEnableCompression:type:" + avail_name.str() + ";";
1079+
if (SendPacketAndWaitForResponse(packet, response) != PacketResult::Success)
10811080
return;
10821081

10831082
if (response.IsOKResponse()) {

0 commit comments

Comments
 (0)