Skip to content

Commit

Permalink
Switch string_view to string (2/2)
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Johnson <johnson.peter@gmail.com>
  • Loading branch information
Braykoff and PeterJohnson authored Dec 30, 2024
1 parent a79936a commit 0d88d6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class SendableChooser : public SendableChooserBase {
* @return The option selected
*/
CopyType GetSelected() const {
std::string_view selected = GetSelectedName();
std::string selected = GetSelectedName();
if (selected.empty()) {
return CopyType{};
} else {
Expand Down

0 comments on commit 0d88d6c

Please sign in to comment.