v0.2.50..v0.2.51 changeset ImplicitTypeTaggerBase.cpp
Garret Voltz edited this page Jan 15, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/ImplicitTypeTaggerBase.cpp b/hoot-core/src/main/cpp/hoot/core/visitors/ImplicitTypeTaggerBase.cpp
index 91414ca..e0cf535 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/ImplicitTypeTaggerBase.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/ImplicitTypeTaggerBase.cpp
@@ -673,7 +673,7 @@ void ImplicitTypeTaggerBase::_addImplicitTags(const ElementPtr& e, const Tags& t
const QSet<QString>& matchingWords)
{
//add implicit tags and associated metadata tags
- e->getTags().addTags(tagsToAdd);
+ e->getTags().add(tagsToAdd);
assert(matchingWords.size() != 0);
QStringList matchingWordsList = matchingWords.toList();
qSort(matchingWordsList.begin(), matchingWordsList.end(), caseInsensitiveLessThan);