-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.55..v0.2.56 changeset IdSwapOp.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/IdSwapOp.h b/hoot-core/src/main/cpp/hoot/core/ops/IdSwapOp.h
index 8973586..e8c2d06 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/IdSwapOp.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/IdSwapOp.h
@@ -51,7 +51,7 @@ public:
/**
* @brief IdSwapOp - Default constructor
*/
- IdSwapOp() { }
+ IdSwapOp() = default;
/**
* @brief IdSwapOp - Constructor taking a swap object with the IDs to swap
@@ -63,6 +63,8 @@ public:
*/
IdSwapOp(ElementId e1, ElementId e2) : _idSwap(new IdSwap(e1,e2)) { }
+ virtual ~IdSwapOp() = default;
+
/**
* @brief apply - Apply the IdSwap op
* @param pMap - Target map