output/Multiple: pass std::string_view to FindByName()
This commit is contained in:
@@ -155,7 +155,7 @@ handle_delpartition(Client &client, Request request, Response &response)
|
||||
CommandResult
|
||||
handle_moveoutput(Client &client, Request request, Response &response)
|
||||
{
|
||||
const char *output_name = request[0];
|
||||
const std::string_view output_name = request[0];
|
||||
|
||||
auto &dest_partition = client.GetPartition();
|
||||
auto *existing_output = dest_partition.outputs.FindByName(output_name);
|
||||
|
Reference in New Issue
Block a user