From: Younies Mahmoud Date: Thu, 26 Mar 2020 18:01:19 +0000 (+0100) Subject: remove non-needed comment X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4b97ed5c9afe87ddeb62c74728a32d5d89cb71c;p=icu remove non-needed comment --- diff --git a/icu4c/source/i18n/getunitsdata.h b/icu4c/source/i18n/getunitsdata.h index 3b29885dbfb..3b9e0fb5005 100644 --- a/icu4c/source/i18n/getunitsdata.h +++ b/icu4c/source/i18n/getunitsdata.h @@ -20,7 +20,7 @@ U_NAMESPACE_BEGIN // to convert from one unit to another. class U_I18N_API ConversionRateInfo { public: - ConversionRateInfo() {}; + ConversionRateInfo(){}; ConversionRateInfo(StringPiece sourceUnit, StringPiece baseUnit, StringPiece factor, StringPiece offset, UErrorCode &status) : sourceUnit(), baseUnit(), factor(), offset() { @@ -48,7 +48,7 @@ struct U_I18N_API UnitPreference { /** * Collects and returns ConversionRateInfo needed to convert from source to * baseUnit. - * + * * @param source The source unit (the unit type converted from). * @param target The target unit (the unit type converted to). * @param baseCompoundUnit Output parameter: if not NULL, it will be set to the @@ -93,11 +93,6 @@ void U_I18N_API getUnitsData(const char *outputRegion, const char *usage, const MaybeStackVector &conversionInfo, MaybeStackVector &unitPreferences, UErrorCode &status); -// // TODO(hugo): Implement -// // Compound units as source and target, conversion rates for each piece. -// MaybeStackVector -// U_I18N_API getConversionRatesInfo(MeasureUnit source, MeasureUnit target, UErrorCode &status); - U_NAMESPACE_END #endif //__GETUNITSDATA_H__