-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.49..v0.2.50 changeset CalculateStatsOp.cpp
Garret Voltz edited this page Nov 6, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/ops/CalculateStatsOp.cpp b/hoot-core/src/main/cpp/hoot/core/ops/CalculateStatsOp.cpp
index 6e34715..7e6946f 100644
--- a/hoot-core/src/main/cpp/hoot/core/ops/CalculateStatsOp.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/ops/CalculateStatsOp.cpp
@@ -443,7 +443,8 @@ void CalculateStatsOp::_interpretStatData(shared_ptr<const OsmMap>& constMap, St
try
{
// create criterion
- pCrit = shared_ptr<ElementCriterion>(
+ pCrit =
+ shared_ptr<ElementCriterion>(
static_cast<ElementCriterion *>(
Factory::getInstance().constructObject<ElementCriterion>(d.criterion)));
@@ -475,9 +476,10 @@ void CalculateStatsOp::_interpretStatData(shared_ptr<const OsmMap>& constMap, St
try
{
// create visitor to set in FilteredVisitor
- pCriterionVisitor = shared_ptr<ConstElementVisitor>(
- static_cast<ConstElementVisitor *>(
- Factory::getInstance().constructObject<ElementVisitor>(d.visitor)));
+ pCriterionVisitor =
+ shared_ptr<ConstElementVisitor>(
+ static_cast<ConstElementVisitor *>(
+ Factory::getInstance().constructObject<ElementVisitor>(d.visitor)));
}
catch (...)
{
@@ -502,9 +504,10 @@ void CalculateStatsOp::_interpretStatData(shared_ptr<const OsmMap>& constMap, St
{
try
{
- pVisitor = shared_ptr<ConstElementVisitor>(
- static_cast<ConstElementVisitor *>(
- Factory::getInstance().constructObject<ElementVisitor>(d.visitor)));
+ pVisitor =
+ shared_ptr<ConstElementVisitor>(
+ static_cast<ConstElementVisitor *>(
+ Factory::getInstance().constructObject<ElementVisitor>(d.visitor)));
}
catch (...)
{