From 7ce0751c60104ebe2f05102f22014f2f64085c23 Mon Sep 17 00:00:00 2001 From: Malte Langkabel Date: Tue, 4 Aug 2026 22:43:00 +0200 Subject: [PATCH] remove the stale findRotateInPlaceTarget declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Third declaration left behind by a move — the definition went to PlacementRules.cpp but the declaration stayed. Checked the rest of the header mechanically this time: every other declared method has a definition. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01YHcUerKAZKWNvSKJxYKbnG --- src/lib/sim/BuildingSystem.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/lib/sim/BuildingSystem.h b/src/lib/sim/BuildingSystem.h index 73c69ea..78b15a0 100644 --- a/src/lib/sim/BuildingSystem.h +++ b/src/lib/sim/BuildingSystem.h @@ -143,13 +143,6 @@ public: void forEachIncomingItem( const std::function& visit) const; - // Returns the entity id of the building or construction site whose footprint - // exactly coincides with the ghost (type, anchor, rot) and is of the same - // building type. Returns nullopt otherwise. - std::optional findRotateInPlaceTarget(BuildingType type, - QPoint anchor, - Rotation rot) const; - // Rotate an existing building or construction site to newRotation in place. // For belt-type operational buildings, re-registers with BeltSystem (items // currently on the tile are discarded by BeltSystem::removeTile).