-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.54..v0.2.55 changeset AttributeValueCriterion.cpp
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/criterion/AttributeValueCriterion.cpp b/hoot-core/src/main/cpp/hoot/core/criterion/AttributeValueCriterion.cpp
index 4150ed8..bc8a1db 100644
--- a/hoot-core/src/main/cpp/hoot/core/criterion/AttributeValueCriterion.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/criterion/AttributeValueCriterion.cpp
@@ -22,13 +22,13 @@
* 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 "AttributeValueCriterion.h"
// hoot
#include <hoot/core/util/Factory.h>
-#include <hoot/core/elements/OsmUtils.h>
+#include <hoot/core/util/DateTimeUtils.h>
namespace hoot
{
@@ -112,7 +112,7 @@ bool AttributeValueCriterion::isSatisfied(const ConstElementPtr& e) const
case ElementAttributeType::Changeset:
return _satisfiesComparison(QVariant((qlonglong)e->getChangeset()));
case ElementAttributeType::Timestamp:
- return _satisfiesComparison(QVariant(OsmUtils::toTimeString(e->getTimestamp())));
+ return _satisfiesComparison(QVariant(DateTimeUtils::toTimeString(e->getTimestamp())));
case ElementAttributeType::User:
return _satisfiesComparison(QVariant(e->getUser()));
case ElementAttributeType::Uid: