Skip to content

v0.2.55..v0.2.56 changeset Node.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/elements/Node.h b/hoot-core/src/main/cpp/hoot/core/elements/Node.h
index 700cef3..2ea042d 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/Node.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/Node.h
@@ -58,7 +58,7 @@ public:
        QString user = ElementData::USER_EMPTY, long uid = ElementData::UID_EMPTY,
        bool visible = ElementData::VISIBLE_EMPTY);
 
-  virtual ~Node() {}
+  virtual ~Node() = default;
 
   /**
    * Allocate a node as a shared pointer. At this time the allocated node will be allocated as
@@ -145,7 +145,7 @@ protected:
    * parameters passed into the other constructors. However, the pool method requires a default
    * constructor. To work around this, the pool objects are friends (above).
    */
-  Node() {}
+  Node() = default;
 
   NodeData _nodeData;
 
Clone this wiki locally