From c7556e10ff33dbb30ae8d7e31144d134bb50f769 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 8 Apr 2004 19:11:25 +0000 Subject: [PATCH] ICU-3500 Fix compiler warnings about multiple virtual destructors and/or not inlining compiler generated destructors. X-SVN-Rev: 14905 --- icu4c/source/i18n/numfmt.cpp | 1 + icu4c/source/i18n/unicode/numfmt.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/icu4c/source/i18n/numfmt.cpp b/icu4c/source/i18n/numfmt.cpp index cef720f901..1ead0e6390 100644 --- a/icu4c/source/i18n/numfmt.cpp +++ b/icu4c/source/i18n/numfmt.cpp @@ -90,6 +90,7 @@ const UChar * const NumberFormat::fgLastResortNumberPatterns[] = // ------------------------------------- // SimpleNumberFormatFactory implementation +NumberFormatFactory::~NumberFormatFactory() {} SimpleNumberFormatFactory::~SimpleNumberFormatFactory() {} UBool SimpleNumberFormatFactory::visible(void) const { diff --git a/icu4c/source/i18n/unicode/numfmt.h b/icu4c/source/i18n/unicode/numfmt.h index 9e630604f7..28bef3642b 100644 --- a/icu4c/source/i18n/unicode/numfmt.h +++ b/icu4c/source/i18n/unicode/numfmt.h @@ -732,6 +732,12 @@ private: class U_I18N_API NumberFormatFactory : public UObject { public: + /** + * Destructor + * @draft ICU 3.0 + */ + virtual ~NumberFormatFactory(); + /** * Return true if this factory will be visible. Default is true. * If not visible, the locales supported by this factory will not