Skip to content

Commit

Permalink
first implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
younies committed Jan 20, 2025
1 parent ef4d399 commit 7d2adcc
Show file tree
Hide file tree
Showing 6 changed files with 392 additions and 87 deletions.
1 change: 1 addition & 0 deletions icu4c/source/i18n/measunit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2400,6 +2400,7 @@ MeasureUnitImpl MeasureUnitImpl::copy(UErrorCode &status) const {
MeasureUnitImpl result;
result.complexity = complexity;
result.identifier.append(identifier, status);
result.constantDenominator = constantDenominator;
for (int32_t i = 0; i < singleUnits.length(); i++) {
SingleUnitImpl *item = result.singleUnits.emplaceBack(*singleUnits[i]);
if (!item) {
Expand Down
Loading

0 comments on commit 7d2adcc

Please sign in to comment.