Misc: Pass string_view by value
This commit is contained in:
@ -4,13 +4,10 @@
|
||||
#pragma once
|
||||
#include <string_view>
|
||||
|
||||
namespace GDBProtocol
|
||||
{
|
||||
|
||||
bool IsPacketInterrupt(const std::string_view& data);
|
||||
bool IsPacketContinue(const std::string_view& data);
|
||||
|
||||
bool IsPacketComplete(const std::string_view& data);
|
||||
std::string ProcessPacket(const std::string_view& data);
|
||||
namespace GDBProtocol {
|
||||
bool IsPacketInterrupt(std::string_view data);
|
||||
bool IsPacketContinue(std::string_view data);
|
||||
|
||||
bool IsPacketComplete(std::string_view data);
|
||||
std::string ProcessPacket(std::string_view data);
|
||||
} // namespace GDBProtocol
|
||||
|
||||
Reference in New Issue
Block a user