diff --git a/icu4c/source/i18n/nfsubs.h b/icu4c/source/i18n/nfsubs.h index ba2dbe63813..6cbf8920b18 100644 --- a/icu4c/source/i18n/nfsubs.h +++ b/icu4c/source/i18n/nfsubs.h @@ -249,8 +249,11 @@ public: virtual UBool isModulusSubstitution() const; private: + NFSubstitution(const NFSubstitution &other); // forbid copying of this class + NFSubstitution &operator=(const NFSubstitution &other); // forbid copying of this class + static const char fgClassID; - + public: static UClassID getStaticClassID(void) { return (UClassID)&fgClassID; } virtual UClassID getDynamicClassID(void) const;