From df086826809b22f36900607dd14aa5f82aee8d06 Mon Sep 17 00:00:00 2001 From: Shane Carr Date: Thu, 19 Oct 2017 23:47:20 +0000 Subject: [PATCH] ICU-13415 Adding virtual destructor to internal Interface-like type SymbolProvider. X-SVN-Rev: 40624 --- icu4c/source/i18n/number_affixutils.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icu4c/source/i18n/number_affixutils.h b/icu4c/source/i18n/number_affixutils.h index 12c8e00101..fd76c99b97 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; };