Enable performance-move-const-arg clang-tidy check (#6319)
This commit is contained in:
committed by
GitHub
parent
869b3fae82
commit
8e74b7af9d
@@ -283,7 +283,7 @@ Coordinate interpolateLinear(double factor, const Coordinate from, const Coordin
|
||||
FixedLatitude interpolated_lat{
|
||||
static_cast<std::int32_t>(from_lat + factor * (to_lat - from_lat))};
|
||||
|
||||
return {std::move(interpolated_lon), std::move(interpolated_lat)};
|
||||
return {interpolated_lon, interpolated_lat};
|
||||
}
|
||||
|
||||
// compute the signed area of a triangle
|
||||
|
||||
Reference in New Issue
Block a user