From 1d62e3776f932c7e1ce758b4b0c92cd9228f4466 Mon Sep 17 00:00:00 2001 From: Martin Petricek Date: Sun, 29 Jan 2023 15:40:02 +0100 Subject: [PATCH] Use static inline Co-authored-by: sfan5 --- TileGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TileGenerator.cpp b/TileGenerator.cpp index 6cf14d2..a28ae67 100644 --- a/TileGenerator.cpp +++ b/TileGenerator.cpp @@ -426,7 +426,7 @@ void TileGenerator::closeDatabase() m_db = NULL; } -int16_t mod16(int16_t y) +static inline int16_t mod16(int16_t y) { if (y < 0) return (y - 15) / 16;