From 90df5c1b029d27408d93c4de1d8c29daa8466d9c Mon Sep 17 00:00:00 2001 From: Michael Kutzner <174690291+MichaelKutzner@users.noreply.github.com> Date: Thu, 19 Dec 2024 08:57:54 +0100 Subject: [PATCH] Remove incorrect std::move --- src/preprocessing/elevation/hgt_raster.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preprocessing/elevation/hgt_raster.cc b/src/preprocessing/elevation/hgt_raster.cc index 502b10c..fc36d69 100644 --- a/src/preprocessing/elevation/hgt_raster.cc +++ b/src/preprocessing/elevation/hgt_raster.cc @@ -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 '{}'",