From e2a0f8265776786b975d01b94a064b59d0b13148 Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Fri, 15 Jun 2012 19:58:34 +0200 Subject: [PATCH] STYLE --- Applications/Segmentation/otbMeanShiftSmoothing.cxx | 1 - .../OGRAdapters/otbGeometriesToGeometriesFilter.cxx | 4 ++-- Examples/BasicFilters/MeanShiftSegmentationFilterExample.cxx | 4 ---- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Applications/Segmentation/otbMeanShiftSmoothing.cxx b/Applications/Segmentation/otbMeanShiftSmoothing.cxx index d22a4ba967..75a36c9e7e 100644 --- a/Applications/Segmentation/otbMeanShiftSmoothing.cxx +++ b/Applications/Segmentation/otbMeanShiftSmoothing.cxx @@ -73,7 +73,6 @@ private: - AddParameter(ParameterType_Int, "maxiter", "Maximum number of iterations"); SetParameterDescription("maxiter", "Algorithm iterative scheme will stop if convergence hasn't been reached after the maximum number of iterations."); MandatoryOff("maxiter"); diff --git a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx index 7f67f4e56b..7fa63a4184 100644 --- a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx +++ b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx @@ -49,8 +49,8 @@ struct ProcessVisitor : boost::static_visitor<> assert(source && "can't filter a nil datasource"); assert(destination && "can't filter to a nil datasource"); for (otb::ogr::DataSource::const_iterator b = source->begin(), e = source->end() - ; b != e - ; ++b + ; b != e + ; ++b ) { otb::ogr::Layer const& sourceLayer = *b; diff --git a/Examples/BasicFilters/MeanShiftSegmentationFilterExample.cxx b/Examples/BasicFilters/MeanShiftSegmentationFilterExample.cxx index 6fbd88110d..e6456a7762 100644 --- a/Examples/BasicFilters/MeanShiftSegmentationFilterExample.cxx +++ b/Examples/BasicFilters/MeanShiftSegmentationFilterExample.cxx @@ -141,7 +141,6 @@ int main(int argc, char * argv[]) filter->SetSpatialBandwidth(spatialRadius); filter->SetRangeBandwidth(rangeRadius); filter->SetMinRegionSize(minRegionSize); - // Software Guide : EndCodeSnippet // Software Guide : BeginLatex // @@ -151,10 +150,8 @@ int main(int argc, char * argv[]) // Software Guide : EndLatex // Software Guide : BeginCodeSnippet - filter->SetMaxIterationNumber(maxiter); filter->SetThreshold(thres); - // Software Guide : EndCodeSnippet // Software Guide : BeginLatex // @@ -169,7 +166,6 @@ int main(int argc, char * argv[]) writer1->Update(); writer2->Update(); - // Software Guide : EndCodeSnippet // Software Guide : BeginLatex -- GitLab