mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-09 15:27:38 +00:00
ICU-11867 fix "virtual functions hidden" warning in windtfmt/winnmfmt
X-SVN-Rev: 37886
This commit is contained in:
parent
083ac0c904
commit
49eb03845c
2 changed files with 5 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
********************************************************************************
|
||||
* Copyright (C) 2005-2013, International Business Machines
|
||||
* Copyright (C) 2005-2015, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
********************************************************************************
|
||||
*
|
||||
|
@ -52,7 +52,7 @@ public:
|
|||
|
||||
UnicodeString &format(Calendar &cal, UnicodeString &appendTo, FieldPosition &pos) const;
|
||||
|
||||
UnicodeString& format(UDate date, UnicodeString& appendTo) const;
|
||||
using DateFormat::format;
|
||||
|
||||
void parse(const UnicodeString& text, Calendar& cal, ParsePosition& pos) const;
|
||||
|
||||
|
@ -127,10 +127,6 @@ private:
|
|||
TIME_ZONE_INFORMATION *fTZI;
|
||||
};
|
||||
|
||||
inline UnicodeString &Win32DateFormat::format(UDate date, UnicodeString& appendTo) const {
|
||||
return DateFormat::format(date, appendTo);
|
||||
}
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
||||
#endif /* #if !UCONFIG_NO_FORMATTING */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
********************************************************************************
|
||||
* Copyright (C) 2005-2014, International Business Machines
|
||||
* Copyright (C) 2005-2015, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
********************************************************************************
|
||||
*
|
||||
|
@ -89,6 +89,8 @@ public:
|
|||
UnicodeString& appendTo,
|
||||
FieldPosition& pos) const;
|
||||
|
||||
using NumberFormat::format;
|
||||
|
||||
// Use the default behavior for the following.
|
||||
// virtual UnicodeString &format(double number, UnicodeString &appendTo) const;
|
||||
// virtual UnicodeString &format(int32_t number, UnicodeString &appendTo) const;
|
||||
|
|
Loading…
Add table
Reference in a new issue