-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.52..v0.2.53 changeset WayNodeCriterion.cpp
Garret Voltz edited this page Feb 12, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/WayNodeCriterion.cpp b/hoot-core/src/main/cpp/hoot/core/criterion/WayNodeCriterion.cpp
index 9fce62e..e274c49 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/WayNodeCriterion.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/WayNodeCriterion.cpp
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#include "WayNodeCriterion.h"
@@ -43,6 +43,11 @@ WayNodeCriterion::WayNodeCriterion()
bool WayNodeCriterion::isSatisfied(const ConstElementPtr& e) const
{
+ LOG_VART(_map.get());
+ if (_map.get())
+ {
+ LOG_VART(_map->size());
+ }
return
e->getElementType() == ElementType::Node &&
_map->getIndex().getNodeToWayMap()->getWaysByNode(e->getId()).size() > 0;