]> granicus.if.org Git - icu/commitdiff
ICU-13415 Adding virtual destructor to internal Interface-like type SymbolProvider.
authorShane Carr <shane@unicode.org>
Thu, 19 Oct 2017 23:47:20 +0000 (23:47 +0000)
committerShane Carr <shane@unicode.org>
Thu, 19 Oct 2017 23:47:20 +0000 (23:47 +0000)
X-SVN-Rev: 40624

icu4c/source/i18n/number_affixutils.h

index 12c8e001018901cbeb5f930d2df85501038dd4f3..fd76c99b975566614f190193d0b6987dfdb520dd 100644 (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;
 };