Skip to content

Commit

Permalink
no string_view
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Feb 28, 2024
1 parent 57f187b commit 0199749
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ inline void fromRawValue(
if (!value.hasType<std::string>()) {
return;
}
auto stringValue = std::string_view{(std::string)value};
auto stringValue = (std::string)value;
if (stringValue == "auto") {
result = Cursor::Auto;
return;
Expand Down

0 comments on commit 0199749

Please sign in to comment.