From 102093f3243638d2d65485ef8e7a385d2fcb766b Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Thu, 16 May 2024 09:28:06 +0200 Subject: [PATCH] Fix problem with const --- node_density/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_density/main.cpp b/node_density/main.cpp index 4a82b93..c65b0ce 100644 --- a/node_density/main.cpp +++ b/node_density/main.cpp @@ -156,7 +156,7 @@ class NodeDensityHandler : public osmium::handler::Handler { { int num = std::log2(m_width / 256.0); num = std::min(num, 8); - int const overview_list[] = { 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 }; + int overview_list[] = { 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 }; dataset_cog->BuildOverviews("AVERAGE", num, overview_list, 0, nullptr, nullptr, nullptr); }