From: Shane Carr Date: Thu, 19 Oct 2017 23:47:20 +0000 (+0000) Subject: ICU-13415 Adding virtual destructor to internal Interface-like type SymbolProvider. X-Git-Tag: release-61-rc~213 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df086826809b22f36900607dd14aa5f82aee8d06;p=icu ICU-13415 Adding virtual destructor to internal Interface-like type SymbolProvider. X-SVN-Rev: 40624 --- diff --git a/icu4c/source/i18n/number_affixutils.h b/icu4c/source/i18n/number_affixutils.h index 12c8e001018..fd76c99b975 100644 --- a/icu4c/source/i18n/number_affixutils.h +++ b/icu4c/source/i18n/number_affixutils.h @@ -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; };