Use static inline

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
Martin Petricek 2023-01-29 15:40:02 +01:00 committed by GitHub
parent a578d25212
commit 1d62e3776f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;