Skip to content

Commit

Permalink
Remove an unused constant defined in tst_QDate
Browse files Browse the repository at this point in the history
Change-Id: If00abed2aec9bf8f1d88ff4915c60a3e6e9dc74e
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
Reviewed-by: Magdalena Stojek <magdalena.stojek@qt.io>
  • Loading branch information
ediosyncratic committed Dec 13, 2024
1 parent 98ddef2 commit 2c0d871
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/auto/corelib/time/qdate/tst_qdate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2c0d871

Please sign in to comment.