remove two declarations left behind by the query migration
isTileOccupied and findNearestBuilding kept their declarations in BuildingSystem.h after their definitions were deleted. Nothing calls them, so it built and linked, but a caller would have hit an unresolved symbol rather than a missing-member error. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHcUerKAZKWNvSKJxYKbnG
This commit is contained in:
@@ -152,7 +152,6 @@ public:
|
|||||||
// Producing while its output buffer holds scrap, Starved when empty.
|
// Producing while its output buffer holds scrap, Starved when empty.
|
||||||
std::optional<ProductionStatus> getProductionStatus(const Building& building) const;
|
std::optional<ProductionStatus> getProductionStatus(const Building& building) const;
|
||||||
std::vector<BeltTileInfo> getAllBeltTiles() const;
|
std::vector<BeltTileInfo> getAllBeltTiles() const;
|
||||||
bool isTileOccupied(QPoint tile) const;
|
|
||||||
|
|
||||||
// Visits every item currently emerging from a building output port on its
|
// Visits every item currently emerging from a building output port on its
|
||||||
// virtual output belt (REQ-MAT-OUTPUT-EMERGE), passing the item type and its
|
// virtual output belt (REQ-MAT-OUTPUT-EMERGE), passing the item type and its
|
||||||
@@ -179,8 +178,6 @@ public:
|
|||||||
// currently on the tile are discarded by BeltSystem::removeTile).
|
// currently on the tile are discarded by BeltSystem::removeTile).
|
||||||
void rotateInPlace(BuildingId id, Rotation newRotation);
|
void rotateInPlace(BuildingId id, Rotation newRotation);
|
||||||
|
|
||||||
// Find nearest operational building of the given type; nullptr if none.
|
|
||||||
const Building* findNearestBuilding(QVector2D worldPos, BuildingType type) const;
|
|
||||||
|
|
||||||
// Input-capable adjacent tiles for a building or construction site
|
// Input-capable adjacent tiles for a building or construction site
|
||||||
// (REQ-BLD-BELT-DRAG, REQ-MAT-INPUT-PORTS): each returned Port.tile is the
|
// (REQ-BLD-BELT-DRAG, REQ-MAT-INPUT-PORTS): each returned Port.tile is the
|
||||||
|
|||||||
Reference in New Issue
Block a user