From f6575b6e0f27933135f5b5c2aa52cd432efe23eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cser=C3=A9p=20M=C3=A1t=C3=A9?= Date: Thu, 2 May 2024 14:38:31 +0000 Subject: [PATCH] AHN.Buildings: remove safeguard for Boost version <1.56, as now at least Boost 1.71 is required. Introduced in 7c05882139852fa6d37f89bb5d05fd5fdd434092. --- AHN.Buildings/main.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/AHN.Buildings/main.cpp b/AHN.Buildings/main.cpp index 8592f73..a8cb5ce 100644 --- a/AHN.Buildings/main.cpp +++ b/AHN.Buildings/main.cpp @@ -4,10 +4,6 @@ #include #include -#ifdef __linux__ -#include -#endif - #include #include #include @@ -25,16 +21,6 @@ using namespace AHN::Buildings; int main(int argc, char* argv[]) try { - #ifdef __linux__ - { - // For Boost verion <1.56 Boost internally tries to construct a std::locale(""). - // This call will fail on Linux if the LC_ALL environment variable is not configured (or misconfigured). - const char* lc_all = std::getenv("LC_ALL"); - if(!lc_all || !strlen(lc_all)) - setenv("LC_ALL", "C", 1); - } - #endif - std::string tileName; std::string ahn2Surface, ahn3Surface,