Skip to content

Commit

Permalink
add needed if
Browse files Browse the repository at this point in the history
  • Loading branch information
younies committed Jan 21, 2025
1 parent c3757c8 commit 3c6149c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions icu4c/source/i18n/unicode/measunit.h
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,8 @@ class U_I18N_API MeasureUnit: public UObject {
*/
UMeasurePrefix getPrefix(UErrorCode& status) const;

#ifndef U_HIDE_DRAFT_API

/**
* Creates a new MeasureUnit with a specified constant denominator.
*
Expand Down Expand Up @@ -586,6 +588,8 @@ class U_I18N_API MeasureUnit: public UObject {
*/
int64_t getConstantDenominator(UErrorCode &status) const;

#endif /* U_HIDE_DRAFT_API */

/**
* Creates a MeasureUnit which is this SINGLE unit augmented with the specified dimensionality
* (power). For example, if dimensionality is 2, the unit will be squared.
Expand Down

0 comments on commit 3c6149c

Please sign in to comment.