diff --git a/icu4c/source/common/unicode/unistr.h b/icu4c/source/common/unicode/unistr.h index d321802dbc..6941eb1432 100644 --- a/icu4c/source/common/unicode/unistr.h +++ b/icu4c/source/common/unicode/unistr.h @@ -2405,6 +2405,8 @@ private: friend class UnicodeStreamer; friend class StringCharacterIterator; + friend class SearchIterator; + friend class StringSearch; /* * The following are all the class fields that are stored