ICU-2244 forbid copying of classes that don't have explicit copy implementations

X-SVN-Rev: 9966
This commit is contained in:
Markus Scherer 2002-10-04 17:47:59 +00:00
parent 39711260d3
commit 2385580041

View file

@ -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;