From fe6e89500198f6eda26f3de16f349b3c5558a2f2 Mon Sep 17 00:00:00 2001 From: dP Date: Sun, 14 Dec 2025 16:16:42 +0500 Subject: [PATCH] Fix some compiler warnings --- src/citymania/cm_station_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/citymania/cm_station_gui.cpp b/src/citymania/cm_station_gui.cpp index 5db4f21407..3e421670b2 100644 --- a/src/citymania/cm_station_gui.cpp +++ b/src/citymania/cm_station_gui.cpp @@ -962,7 +962,7 @@ ToolGUIInfo PlacementAction::PrepareGUIInfo(std::optional ohl, void SizedPlacementAction::Update(Point, TileIndex tile) { this->cur_tile = tile; - UpdateStationAction(this->GetArea(), std::move(this->GetCommand(tile, INVALID_STATION))); + UpdateStationAction(this->GetArea(), this->GetCommand(tile, INVALID_STATION)); } bool SizedPlacementAction::HandleMousePress() { @@ -1000,7 +1000,7 @@ void DragNDropPlacementAction::Update(Point, TileIndex tile) { this->cur_tile = tile; auto area = this->GetArea(); if (!area.has_value()) return; - UpdateStationAction(area, std::move(this->GetCommand(*area, INVALID_STATION))); + UpdateStationAction(area, this->GetCommand(*area, INVALID_STATION)); } bool DragNDropPlacementAction::HandleMousePress() {