Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Oct 2, 2024
1 parent fe9f635 commit d7875b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion icu4c/source/i18n/messageformat2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<ResolvedFunctionOption>(std::move(resolvedOpt), status));
LocalPointer<ResolvedFunctionOption>
p(create<ResolvedFunctionOption>(std::move(resolvedOpt), status));
EMPTY_ON_ERROR(status);
optionsVector->adoptElement(p.orphan(), status);
}
Expand Down

0 comments on commit d7875b3

Please sign in to comment.