ICU-13415 Adding virtual destructor to internal Interface-like type SymbolProvider.

X-SVN-Rev: 40624
This commit is contained in:
Shane Carr 2017-10-19 23:47:20 +00:00
parent 1e72170543
commit df08682680

View File

@ -49,6 +49,8 @@ struct AffixTag {
// Exported as U_I18N_API because it is a base class for other exported types
class U_I18N_API SymbolProvider {
public:
virtual ~SymbolProvider() = default;
// TODO: Could this be more efficient if it returned by reference?
virtual UnicodeString getSymbol(AffixPatternType type) const = 0;
};