mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-20452 Removing extra semicolons from public header files.
(Produced warnings in V8 build system.)
This commit is contained in:
parent
213cd3680c
commit
92ed50bc2c
5 changed files with 12 additions and 12 deletions
|
@ -102,9 +102,9 @@ class U_I18N_API FormattedDateInterval : public UMemory, public FormattedValue {
|
|||
FormattedDateIntervalData *fData;
|
||||
UErrorCode fErrorCode;
|
||||
explicit FormattedDateInterval(FormattedDateIntervalData *results)
|
||||
: fData(results), fErrorCode(U_ZERO_ERROR) {};
|
||||
: fData(results), fErrorCode(U_ZERO_ERROR) {}
|
||||
explicit FormattedDateInterval(UErrorCode errorCode)
|
||||
: fData(nullptr), fErrorCode(errorCode) {};
|
||||
: fData(nullptr), fErrorCode(errorCode) {}
|
||||
friend class DateIntervalFormat;
|
||||
};
|
||||
#endif /* U_HIDE_DRAFT_API */
|
||||
|
|
|
@ -127,9 +127,9 @@ class U_I18N_API FormattedList : public UMemory, public FormattedValue {
|
|||
FormattedListData *fData;
|
||||
UErrorCode fErrorCode;
|
||||
explicit FormattedList(FormattedListData *results)
|
||||
: fData(results), fErrorCode(U_ZERO_ERROR) {};
|
||||
: fData(results), fErrorCode(U_ZERO_ERROR) {}
|
||||
explicit FormattedList(UErrorCode errorCode)
|
||||
: fData(nullptr), fErrorCode(errorCode) {};
|
||||
: fData(nullptr), fErrorCode(errorCode) {}
|
||||
friend class ListFormatter;
|
||||
};
|
||||
#endif /* U_HIDE_DRAFT_API */
|
||||
|
|
|
@ -1264,7 +1264,7 @@ class U_I18N_API Grouper : public UMemory {
|
|||
*/
|
||||
UNumberGroupingStrategy fStrategy;
|
||||
|
||||
Grouper() : fGrouping1(-3) {};
|
||||
Grouper() : fGrouping1(-3) {}
|
||||
|
||||
bool isBogus() const {
|
||||
return fGrouping1 == -3;
|
||||
|
@ -2113,7 +2113,7 @@ class U_I18N_API NumberFormatterSettings {
|
|||
}
|
||||
fMacros.copyErrorTo(outErrorCode);
|
||||
return U_FAILURE(outErrorCode);
|
||||
};
|
||||
}
|
||||
|
||||
// NOTE: Uses default copy and move constructors.
|
||||
|
||||
|
@ -2527,10 +2527,10 @@ class U_I18N_API FormattedNumber : public UMemory, public FormattedValue {
|
|||
* @internal
|
||||
*/
|
||||
explicit FormattedNumber(impl::UFormattedNumberData *results)
|
||||
: fData(results), fErrorCode(U_ZERO_ERROR) {};
|
||||
: fData(results), fErrorCode(U_ZERO_ERROR) {}
|
||||
|
||||
explicit FormattedNumber(UErrorCode errorCode)
|
||||
: fData(nullptr), fErrorCode(errorCode) {};
|
||||
: fData(nullptr), fErrorCode(errorCode) {}
|
||||
|
||||
// To give LocalizedNumberFormatter format methods access to this class's constructor:
|
||||
friend class LocalizedNumberFormatter;
|
||||
|
|
|
@ -845,10 +845,10 @@ class U_I18N_API FormattedNumberRange : public UMemory, public FormattedValue {
|
|||
* @internal
|
||||
*/
|
||||
explicit FormattedNumberRange(impl::UFormattedNumberRangeData *results)
|
||||
: fData(results), fErrorCode(U_ZERO_ERROR) {};
|
||||
: fData(results), fErrorCode(U_ZERO_ERROR) {}
|
||||
|
||||
explicit FormattedNumberRange(UErrorCode errorCode)
|
||||
: fData(nullptr), fErrorCode(errorCode) {};
|
||||
: fData(nullptr), fErrorCode(errorCode) {}
|
||||
|
||||
void getAllFieldPositionsImpl(FieldPositionIteratorHandler& fpih, UErrorCode& status) const;
|
||||
|
||||
|
|
|
@ -306,9 +306,9 @@ class U_I18N_API FormattedRelativeDateTime : public UMemory, public FormattedVal
|
|||
FormattedRelativeDateTimeData *fData;
|
||||
UErrorCode fErrorCode;
|
||||
explicit FormattedRelativeDateTime(FormattedRelativeDateTimeData *results)
|
||||
: fData(results), fErrorCode(U_ZERO_ERROR) {};
|
||||
: fData(results), fErrorCode(U_ZERO_ERROR) {}
|
||||
explicit FormattedRelativeDateTime(UErrorCode errorCode)
|
||||
: fData(nullptr), fErrorCode(errorCode) {};
|
||||
: fData(nullptr), fErrorCode(errorCode) {}
|
||||
friend class RelativeDateTimeFormatter;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue