Skip to content

Commit

Permalink
Remove incorrect std::move
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKutzner committed Dec 19, 2024
1 parent 4a7be63 commit 90df5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preprocessing/elevation/hgt_raster.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ struct grid_point {
auto lat = int{};
auto lng = int{};

auto s = std::stringstream{std::move(filename)};
auto s = std::stringstream{filename};
s >> lat_dir >> lat >> lng_dir >> lng;

utl::verify(lat_dir == 'S' || lat_dir == 'N', "Invalid direction '{}'",
Expand Down

0 comments on commit 90df5c1

Please sign in to comment.