ICU-13818 Add virtual destructor for class TokenConsumer.

X-SVN-Rev: 41519
This commit is contained in:
Fredrik Roubert 2018-06-13 17:00:44 +00:00
parent 04d300adeb
commit 1af5762873
2 changed files with 3 additions and 0 deletions

View File

@ -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) {

View File

@ -50,6 +50,8 @@ struct AffixTag {
class TokenConsumer {
public:
virtual ~TokenConsumer();
virtual void consumeToken(AffixPatternType type, UChar32 cp, UErrorCode& status) = 0;
};