mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-12521 Fixing C++03 decfmtsym.cpp compiler error.
X-SVN-Rev: 38721
This commit is contained in:
parent
3467318a84
commit
3f27a9e89d
1 changed files with 4 additions and 2 deletions
|
@ -217,10 +217,12 @@ struct DecFmtSymDataSink : public ResourceSink {
|
|||
DecimalFormatSymbols& dfs;
|
||||
// Boolean array of whether or not we have seen a particular symbol yet.
|
||||
// Can't simpy check fSymbols because it is pre-populated with defaults.
|
||||
UBool seenSymbol[DecimalFormatSymbols::kFormatSymbolCount] = { FALSE };
|
||||
UBool seenSymbol[DecimalFormatSymbols::kFormatSymbolCount];
|
||||
|
||||
// Constructor/Destructor
|
||||
DecFmtSymDataSink(DecimalFormatSymbols& _dfs) : dfs(_dfs) {}
|
||||
DecFmtSymDataSink(DecimalFormatSymbols& _dfs) : dfs(_dfs) {
|
||||
uprv_memset(seenSymbol, FALSE, sizeof(seenSymbol));
|
||||
}
|
||||
virtual ~DecFmtSymDataSink();
|
||||
|
||||
virtual void put(const char *key, ResourceValue &value, UBool /*noFallback*/,
|
||||
|
|
Loading…
Add table
Reference in a new issue