Skip to content

v0.2.52..v0.2.53 changeset ComparatorTagDifferencer.cpp

Garret Voltz edited this page Feb 12, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/schema/ComparatorTagDifferencer.cpp b/hoot-core/src/main/cpp/hoot/core/schema/ComparatorTagDifferencer.cpp
index fa0fd29..f17ee28 100644
--- a/hoot-core/src/main/cpp/hoot/core/schema/ComparatorTagDifferencer.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/schema/ComparatorTagDifferencer.cpp
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2017, 2018 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #include "ComparatorTagDifferencer.h"
 
@@ -38,6 +38,7 @@ HOOT_FACTORY_REGISTER(TagDifferencer, ComparatorTagDifferencer)
 double ComparatorTagDifferencer::diff(const ConstOsmMapPtr &/*map*/, const ConstElementPtr& e1,
   const ConstElementPtr &e2) const
 {
+  LOG_VART(TagComparator::getInstance().compareTags(e1->getTags(), e2->getTags()));
   return 1 - TagComparator::getInstance().compareTags(e1->getTags(), e2->getTags());
 }
 
Clone this wiki locally