From ea5f1ed3f15b8ff3ee0fd7ecb789cbb62f10dbae Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Sun, 22 Jun 2025 15:58:21 +0100 Subject: [PATCH] tiles/tile.h: Remove unused inlines breaking older GCC This was breaking on older GCCs (such as GCC 4.8.x used for AppImage with CentOS7). --- tiles/tile.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tiles/tile.h b/tiles/tile.h index 4208f270..49d0d40c 100644 --- a/tiles/tile.h +++ b/tiles/tile.h @@ -139,21 +139,6 @@ typedef struct #define PlaneGetHint(pl) ((pl)->pl_hint) #define PlaneSetHint(pl, ti) ((pl)->pl_hint = (ti)) -inline Tile* -PlaneGetHint_inline(const Plane *pl) -{ - return pl->pl_hint; -} - -inline void -PlaneSetHint_inline(Plane *pl, Tile *ti) -{ - pl->pl_hint = ti; -} - -//#define PlaneGetHint(pl) PlaneGetHint_inline(pl) -//#define PlaneSetHint(pl, ti) PlaneSetHint_inline((pl), (ti)) - /* * The following coordinate, INFINITY, is used to represent a * tile location outside of the tile plane.