-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.54..v0.2.55 changeset SplitNameVisitor.cpp
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/SplitNameVisitor.cpp b/hoot-core/src/main/cpp/hoot/core/visitors/SplitNameVisitor.cpp
index 3092cbf..cf20301 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/SplitNameVisitor.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/SplitNameVisitor.cpp
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#include "SplitNameVisitor.h"
@@ -36,14 +36,14 @@ namespace hoot
HOOT_FACTORY_REGISTER(ElementVisitor, SplitNameVisitor)
-SplitNameVisitor::SplitNameVisitor() :
-_maxSize(255)
+SplitNameVisitor::SplitNameVisitor()
+ : _maxSize(ConfigOptions().getMaxTagLength())
{
}
void SplitNameVisitor::setConfiguration(const Settings& conf)
{
- _maxSize = ConfigOptions(conf).getSplitNameVisitorMaxLength();
+ _maxSize = ConfigOptions(conf).getMaxTagLength();
}
void SplitNameVisitor::_addExtraNames(Tags& t, const QStringList& extraNames)