Skip to content

Commit

Permalink
string_view is fun
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Jul 27, 2023
1 parent 68e7e60 commit c933bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/substrait/textplan/converter/SaveBinary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ absl::Status savePlanToJson(
absl::Status savePlanToText(
const ::substrait::proto::Plan& plan,
std::string_view output_filename) {
std::ofstream stream(output_filename);
std::ofstream stream(std::string{output_filename});

auto result = parseBinaryPlan(plan);
auto errors = result.getAllErrors();
Expand Down

0 comments on commit c933bc2

Please sign in to comment.