Skip to content

Commit

Permalink
Cleanup (elbow grease)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaciel committed Dec 6, 2024
1 parent f57ed25 commit b8e5075
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/earthkit-regrid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ CASE("InterpolationSpec integration test") {
// extract "interpolation" node from the dumped info
auto info_interpolation = [](const auto& path) {
auto value = eckit::YAMLParser::decodeFile(path);
return (std::ostringstream{} << value["interpolation"]).str();
std::ostringstream ss;
ss << value["interpolation"];
return ss.str();
};


Expand Down

0 comments on commit b8e5075

Please sign in to comment.