diff --git a/hoot-core/src/main/cpp/hoot/core/ops/ElementReplacer.h b/hoot-core/src/main/cpp/hoot/core/ops/ElementReplacer.h
index 38923f9..04839d0 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/ElementReplacer.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/ElementReplacer.h
@@ -44,8 +44,9 @@ public:
static std::string className() { return "hoot::ElementReplacer"; }
- ElementReplacer();
- ElementReplacer(OsmMapPtr mapToReplaceFrom);
+ ElementReplacer() = default;
+ ElementReplacer(OsmMapPtr mapToReplaceFrom) : _mapToReplaceFrom(mapToReplaceFrom) { }
+ virtual ~ElementReplacer() = default;
/**
* @see OsmMapOperation