Skip to content

v0.2.55..v0.2.56 changeset DataProducer.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/conflate/stats/DataProducer.h b/hoot-core/src/main/cpp/hoot/core/conflate/stats/DataProducer.h
index 60128a7..a3222e5 100644
--- a/hoot-core/src/main/cpp/hoot/core/conflate/stats/DataProducer.h
+++ b/hoot-core/src/main/cpp/hoot/core/conflate/stats/DataProducer.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2017, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef DATAPRODUCER_H
 #define DATAPRODUCER_H
@@ -38,9 +38,11 @@ namespace hoot
  */
 class DataProducer
 {
-
 public:
 
+  DataProducer() = default;
+  virtual ~DataProducer() = default;
+
   virtual boost::any getData() const = 0;
 };
 
Clone this wiki locally