ICU-1076 Fix the copy constructor.

X-SVN-Rev: 6137
This commit is contained in:
George Rhoten 2001-10-09 22:53:02 +00:00
parent 3dda41c0cc
commit a23f11ccaa

View file

@ -21,10 +21,11 @@ Quantifier::Quantifier(UnicodeMatcher *adopted,
}
Quantifier::Quantifier(const Quantifier& o) :
UnicodeMatcher(o),
matcher(o.matcher->clone()),
minCount(o.minCount),
maxCount(o.maxCount) {
delete matcher;
maxCount(o.maxCount)
{
}
Quantifier::~Quantifier() {