From 2c0d87149ce1ebaa66b7e6d9bae7b31225547301 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Wed, 11 Dec 2024 17:08:54 +0100 Subject: [PATCH] Remove an unused constant defined in tst_QDate Change-Id: If00abed2aec9bf8f1d88ff4915c60a3e6e9dc74e Reviewed-by: Tatiana Borisova Reviewed-by: Magdalena Stojek --- tests/auto/corelib/time/qdate/tst_qdate.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/auto/corelib/time/qdate/tst_qdate.cpp b/tests/auto/corelib/time/qdate/tst_qdate.cpp index 77154cd4c71..b7ab8881bab 100644 --- a/tests/auto/corelib/time/qdate/tst_qdate.cpp +++ b/tests/auto/corelib/time/qdate/tst_qdate.cpp @@ -552,11 +552,9 @@ void tst_QDate::startOfDay_endOfDay_data() #if QT_CONFIG(timezone) && QT_CONFIG(timezone_tzdb) && defined(__GLIBCXX__) // The IANA-DB parser in libstdc++ (at least up to _GLIBCXX_RELEASE == 14) gets // a lot of zone-transitions wrong in C++20's tzdb :-( - constexpr BackendKludges GlibCxxNoStart = IgnoreStart; constexpr BackendKludges GlibCxxNoBoth = IgnoreBoth; #define KLUDGING #else - constexpr BackendKludges GlibCxxNoStart = Clean; constexpr BackendKludges GlibCxxNoBoth = Clean; #endif const QTimeZone UTC(QTimeZone::UTC);