Skip to content

v0.2.55..v0.2.56 changeset Factory.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/util/Factory.h b/hoot-core/src/main/cpp/hoot/core/util/Factory.h
index 7730f38..2b0f7b8 100644
--- a/hoot-core/src/main/cpp/hoot/core/util/Factory.h
+++ b/hoot-core/src/main/cpp/hoot/core/util/Factory.h
@@ -49,9 +49,9 @@ class ObjectCreator
 {
 public:
 
-  ObjectCreator() {}
+  ObjectCreator() = default;
 
-  virtual ~ObjectCreator() { }
+  virtual ~ObjectCreator() = default;
 
   virtual boost::any create() = 0;
 
@@ -75,7 +75,7 @@ public:
   {
   }
 
-  virtual ~ObjectCreatorTemplate() { }
+  virtual ~ObjectCreatorTemplate() = default;
 
   /**
    * We cast it to "Base" so that the any pointer works as expected.
Clone this wiki locally