-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.47..v0.2.48 changeset WayJoiner.h
Garret Voltz edited this page Sep 27, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/WayJoiner.h b/hoot-core/src/main/cpp/hoot/core/algorithms/WayJoiner.h
index 84040b5..8c04816 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/WayJoiner.h
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/WayJoiner.h
@@ -31,6 +31,7 @@
// Hoot
#include <hoot/core/elements/OsmMap.h>
#include <hoot/core/elements/Way.h>
+#include <hoot/core/info/ApiEntityInfo.h>
namespace hoot
{
@@ -38,7 +39,7 @@ namespace hoot
/**
* Interface for way joiners
*/
-class WayJoiner
+class WayJoiner : public ApiEntityInfo
{
public:
@@ -83,7 +84,7 @@ protected:
* @brief areJoinable Check the status of the ways to see if they are compatible when joining at
* a node; essentially UNKNOWN1 and UNKNOWN2 ways aren't joinable together
*/
- virtual bool _areJoinable(const WayPtr& w1, const WayPtr& w2);
+ virtual bool _areJoinable(const WayPtr& w1, const WayPtr& w2) const;
/**
* @brief resetParents Resets parent id for all ways after joining operation has completed