v0.2.55..v0.2.56 changeset NodeData.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/elements/NodeData.h b/hoot-core/src/main/cpp/hoot/core/elements/NodeData.h
index a4d21cb..8f58b34 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/NodeData.h
+++ b/hoot-core/src/main/cpp/hoot/core/elements/NodeData.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef _ELEMENTS_NODE_DATA_H_
#define _ELEMENTS_NODE_DATA_H_
@@ -36,13 +36,13 @@ class NodeData : public ElementData
{
public:
- NodeData() {}
+ NodeData() = default;
NodeData(const NodeData& nd);
NodeData(long id, double x, double y);
- virtual ~NodeData() {}
+ virtual ~NodeData() = default;
double getX() const { return _x; }