Skip to content

v0.2.55..v0.2.56 changeset CountManualMatchesVisitor.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/CountManualMatchesVisitor.h b/hoot-core/src/main/cpp/hoot/core/visitors/CountManualMatchesVisitor.h
index fbc7518..5956561 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/CountManualMatchesVisitor.h
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/CountManualMatchesVisitor.h
@@ -46,9 +46,9 @@ public:
 
   static std::string className() { return "hoot::CountManualMatchesVisitor"; }
 
-  CountManualMatchesVisitor();
+  CountManualMatchesVisitor() : _numManualMatches(0) { }
 
-  virtual ~CountManualMatchesVisitor() {}
+  virtual ~CountManualMatchesVisitor() = default;
 
   double getStat() const { return _numManualMatches; }
 
Clone this wiki locally