$NetBSD: patch-src_mongo_db_query_collation_collator__interface__icu.h,v 1.1 2020/02/01 20:05:54 adam Exp $ Fix for newer ICU. --- src/mongo/db/query/collation/collator_interface_icu.h.orig 2020-01-08 16:30:41.000000000 +0000 +++ src/mongo/db/query/collation/collator_interface_icu.h @@ -32,9 +32,7 @@ #include -namespace icu { -class Collator; -} // namespace icu +#include namespace mongo { @@ -44,7 +42,7 @@ namespace mongo { */ class CollatorInterfaceICU final : public CollatorInterface { public: - CollatorInterfaceICU(CollationSpec spec, std::unique_ptr collator); + CollatorInterfaceICU(CollationSpec spec, std::unique_ptr collator); std::unique_ptr clone() const final; @@ -55,7 +53,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