ICU-13818 Add virtual destructor for class TokenConsumer.
X-SVN-Rev: 41519
This commit is contained in:
parent
04d300adeb
commit
1af5762873
@ -13,6 +13,7 @@ using namespace icu;
|
||||
using namespace icu::number;
|
||||
using namespace icu::number::impl;
|
||||
|
||||
TokenConsumer::~TokenConsumer() = default;
|
||||
SymbolProvider::~SymbolProvider() = default;
|
||||
|
||||
int32_t AffixUtils::estimateLength(const UnicodeString &patternString, UErrorCode &status) {
|
||||
|
@ -50,6 +50,8 @@ struct AffixTag {
|
||||
|
||||
class TokenConsumer {
|
||||
public:
|
||||
virtual ~TokenConsumer();
|
||||
|
||||
virtual void consumeToken(AffixPatternType type, UChar32 cp, UErrorCode& status) = 0;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user