diff --git a/hoot-core/src/main/cpp/hoot/core/ops/CopyMapSubsetOp.h b/hoot-core/src/main/cpp/hoot/core/ops/CopyMapSubsetOp.h
index df4ffac..bdc7a61 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/CopyMapSubsetOp.h
+++ b/hoot-core/src/main/cpp/hoot/core/ops/CopyMapSubsetOp.h
@@ -30,12 +30,15 @@
// hoot
#include <hoot/core/elements/OsmMap.h>
#include <hoot/core/ops/OsmMapOperation.h>
+#include <hoot/core/criterion/ElementCriterion.h>
namespace hoot
{
/**
* Copies a subset of the map into a new map. The old map is unchanged.
+ *
+ * TODO: implement OperationStatusInfo
*/
class CopyMapSubsetOp : public OsmMapOperation
{
@@ -46,6 +49,7 @@ public:
CopyMapSubsetOp(const ConstOsmMapPtr& from, const std::set<ElementId>& eids);
CopyMapSubsetOp(const ConstOsmMapPtr& from, const std::vector<long>& wayIds);
CopyMapSubsetOp(const ConstOsmMapPtr& from, ElementId eid1, ElementId eid2);
+ CopyMapSubsetOp(const ConstOsmMapPtr& from, const ElementCriterionPtr& crit);
/**
* A new map is created and the eids specified in the constructor and their depedencies will be
@@ -62,6 +66,7 @@ private:
std::set<ElementId> _eids;
ConstOsmMapPtr _from;
+ ElementCriterionPtr _crit;
};
}