lib/quarry/src/data_set/features/nominal_feature.h in thera-0.0.7 vs lib/quarry/src/data_set/features/nominal_feature.h in thera-0.0.8
- old
+ new
@@ -12,9 +12,11 @@
class NominalFeature : public Feature {
public:
NominalFeature(string name, int index) : Feature(name, index), names(1, "") {}
NominalFeature(NominalFeature *other) : Feature(other->name, other->index), indexes(other->indexes), names(other->names) {}
+ ~NominalFeature() {}
+
NominalFeature *clone() {
return new NominalFeature(this);
}
void reset() {