diff --git a/libs/libcommon/src/DateLUTImpl.cpp b/libs/libcommon/src/DateLUTImpl.cpp index c05a3d4bf8a..693a811ece2 100644 --- a/libs/libcommon/src/DateLUTImpl.cpp +++ b/libs/libcommon/src/DateLUTImpl.cpp @@ -34,17 +34,9 @@ UInt8 getDayOfWeek(const cctz::civil_day & date) } - -__attribute__((__weak__)) extern bool inside_main; - DateLUTImpl::DateLUTImpl(const std::string & time_zone_) : time_zone(time_zone_) { - /// DateLUT should not be initialized in global constructors for the following reasons: - /// 1. It is too heavy. - if (&inside_main) - assert(inside_main); - cctz::time_zone cctz_time_zone; if (!cctz::load_time_zone(time_zone, &cctz_time_zone)) throw Poco::Exception("Cannot load time zone " + time_zone_);