v0.2.54..v0.2.55 changeset WaySublineMatchString.cpp
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/linearreference/WaySublineMatchString.cpp b/hoot-core/src/main/cpp/hoot/core/algorithms/linearreference/WaySublineMatchString.cpp
index b238412..869530d 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/linearreference/WaySublineMatchString.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/linearreference/WaySublineMatchString.cpp
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#include "WaySublineMatchString.h"
@@ -126,24 +126,20 @@ vector<bool> WaySublineMatchString::getReverseVector2() const
WaySublineCollection WaySublineMatchString::getSublineString1() const
{
WaySublineCollection result;
-
for (size_t i = 0; i < _matches.size(); i++)
{
result.addSubline(_matches[i].getSubline1());
}
-
return result;
}
WaySublineCollection WaySublineMatchString::getSublineString2() const
{
WaySublineCollection result;
-
for (size_t i = 0; i < _matches.size(); i++)
{
result.addSubline(_matches[i].getSubline2());
}
-
return result;
}