mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-3500 fix compiler warning
X-SVN-Rev: 15087
This commit is contained in:
parent
487f050eaf
commit
07304e0e50
3 changed files with 4 additions and 3 deletions
|
@ -23,7 +23,7 @@ CurrencyFormat::CurrencyFormat(const Locale& locale, UErrorCode& ec) :
|
|||
}
|
||||
|
||||
CurrencyFormat::CurrencyFormat(const CurrencyFormat& other) :
|
||||
fmt(NULL) {
|
||||
MeasureFormat(other), fmt(NULL) {
|
||||
fmt = (NumberFormat*) other.fmt->clone();
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,8 @@ CurrencyUnit::CurrencyUnit(const UChar* _isoCode, UErrorCode& ec) {
|
|||
}
|
||||
}
|
||||
|
||||
CurrencyUnit::CurrencyUnit(const CurrencyUnit& other) {
|
||||
CurrencyUnit::CurrencyUnit(const CurrencyUnit& other) :
|
||||
MeasureUnit(other) {
|
||||
*this = other;
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ Measure::Measure(const Formattable& _number, MeasureUnit* adoptedUnit,
|
|||
}
|
||||
|
||||
Measure::Measure(const Measure& other) :
|
||||
unit(0) {
|
||||
UObject(other), unit(0) {
|
||||
*this = other;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue