From 4317c826a9da01d0f100874607ff0b761244ad17 Mon Sep 17 00:00:00 2001 From: zstadler Date: Thu, 3 Nov 2022 23:24:31 +0200 Subject: [PATCH] Fix docker build compilation (#29) Fixes #28 --- text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text.cpp b/text.cpp index 62cc8c9..0449c7c 100644 --- a/text.cpp +++ b/text.cpp @@ -131,7 +131,7 @@ std::string truncate16(std::string const &s, size_t runes) { int integer_zoom(std::string where, std::string text) { double d = atof(text.c_str()); - if (!isfinite(d) || d != floor(d) || d < 0 || d > 32) { + if (!std::isfinite(d) || d != floor(d) || d < 0 || d > 32) { fprintf(stderr, "%s: Expected integer zoom level in \"tippecanoe\" GeoJSON extension, not %s\n", where.c_str(), text.c_str()); exit(EXIT_JSON); }