[core] Fix performance-move-const-arg
This commit is contained in:
@@ -356,7 +356,7 @@ void Transform::setLatLngBounds(LatLngBounds bounds) {
|
||||
if (!bounds.valid()) {
|
||||
throw std::runtime_error("failed to set bounds: bounds are invalid");
|
||||
}
|
||||
state.setLatLngBounds(std::move(bounds));
|
||||
state.setLatLngBounds(bounds);
|
||||
}
|
||||
|
||||
void Transform::setMinZoom(const double minZoom) {
|
||||
|
||||
Reference in New Issue
Block a user