Skip to content

Commit

Permalink
dequote: use std::string_view::substr
Browse files Browse the repository at this point in the history
  • Loading branch information
akva2 committed Dec 13, 2024
1 parent b9d5591 commit cce2b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opm/input/eclipse/Schedule/UDQ/UDQEnums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace {
};
}

return { s.begin() + b + 1, e - b - 1 };
return s.substr(b + 1, e - b - 1);
}

bool is_asterisk(std::string_view s)
Expand Down

0 comments on commit cce2b4e

Please sign in to comment.