diff --git a/icu4c/source/i18n/messageformat2.cpp b/icu4c/source/i18n/messageformat2.cpp index b56b5e281d1f..30ab1b28457b 100644 --- a/icu4c/source/i18n/messageformat2.cpp +++ b/icu4c/source/i18n/messageformat2.cpp @@ -135,7 +135,8 @@ FunctionOptions MessageFormatter::resolveOptions(const Environment& env, const O // The option is resolved; add it to the vector ResolvedFunctionOption resolvedOpt(k, std::move(optVal), status); - LocalPointer p(create(std::move(resolvedOpt), status)); + LocalPointer + p(create(std::move(resolvedOpt), status)); EMPTY_ON_ERROR(status); optionsVector->adoptElement(p.orphan(), status); } diff --git a/icu4c/source/i18n/messageformat2_evaluation.h b/icu4c/source/i18n/messageformat2_evaluation.h index 3d605fc22155..f4387fbde419 100644 --- a/icu4c/source/i18n/messageformat2_evaluation.h +++ b/icu4c/source/i18n/messageformat2_evaluation.h @@ -34,7 +34,7 @@ namespace message2 { // InternalValue tracks a value along with, possibly, a function that needs // to be applied to it in the future (once the value is required - // (by a .match or pattern)); + // (by a .match or pattern, or another function)); // while FormattedPlaceholder tracks a value and how it was constructed in the // past (by a function, or from a literal or argument).