1 2 3 4 5 6 7 8 9
#include "scorer.h" Scorer::Scorer(const vector<Feature*>& features) : features(features) {} Scorer::~Scorer() { for (Feature* feature: features) { delete feature; } }