$NetBSD: patch-src_mongo_db_query_collation_collator__interface__icu.h,v 1.2 2023/07/29 11:45:43 adam Exp $ Fix for newer ICU. --- src/mongo/db/query/collation/collator_interface_icu.h.orig 2023-06-29 13:37:52.000000000 +0000 +++ src/mongo/db/query/collation/collator_interface_icu.h @@ -33,9 +33,7 @@ #include -namespace icu { -class Collator; -} // namespace icu +#include namespace mongo { @@ -45,7 +43,7 @@ namespace mongo { */ class CollatorInterfaceICU final : public CollatorInterface { public: - CollatorInterfaceICU(Collation spec, std::unique_ptr collator); + CollatorInterfaceICU(Collation spec, std::unique_ptr collator); std::unique_ptr clone() const final; @@ -56,7 +54,7 @@ public: private: // The ICU implementation of the collator to which we delegate interesting work. Const methods // on the ICU collator are expected to be thread-safe. - const std::unique_ptr _collator; + const std::unique_ptr _collator; }; } // namespace mongo