diff --git a/src/corelib/time/qcalendar.cpp b/src/corelib/time/qcalendar.cpp index a6801fe725..5eaecedbbd 100644 --- a/src/corelib/time/qcalendar.cpp +++ b/src/corelib/time/qcalendar.cpp @@ -25,9 +25,8 @@ QT_BEGIN_NAMESPACE -namespace { - -struct CaseInsensitiveAnyStringViewLessThan { +struct QCalendarRegistryCaseInsensitiveAnyStringViewLessThan +{ struct is_transparent {}; bool operator()(QAnyStringView lhs, QAnyStringView rhs) const { @@ -35,8 +34,6 @@ struct CaseInsensitiveAnyStringViewLessThan { } }; -} // unnamed namespace - namespace QtPrivate { /* @@ -70,7 +67,7 @@ class QCalendarRegistry */ QFlatMap< QString, QCalendarBackend *, - CaseInsensitiveAnyStringViewLessThan, + QCalendarRegistryCaseInsensitiveAnyStringViewLessThan, QStringList, std::vector > byName;