Skip to content

v0.2.48..v0.2.49 changeset ReviewScoreCriterion.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/ReviewScoreCriterion.h b/hoot-core/src/main/cpp/hoot/core/criterion/ReviewScoreCriterion.h
index 4a1799c..87ea3b1 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/ReviewScoreCriterion.h
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/ReviewScoreCriterion.h
@@ -59,6 +59,10 @@ public:
   void setMaxScoreThreshold(const double threshold);
   void setInvertThresholding(const bool invert) { _invertThresholding = invert; }
 
+  virtual QString toString() const override
+  { return QString::fromStdString(className()).remove("hoot::"); }
+
+
 private:
 
   double _minScoreThreshold;
Clone this wiki locally