Skip to content
Snippets Groups Projects

Various compilation fixes

Merged Guillaume Pasero requested to merge compilation_fixes into master
4 files
+ 16
10
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -1027,10 +1027,10 @@ namespace otb
InputIterator InIt_LL(this->GetInput(), inputRegionForThread);
// Allocate Vectors for polygon storage for this line of DEM
std::vector<ImageInPixelType> Polygon_SideInUp_VecLine [nbDEMLines];
std::vector<ImageInPixelType> Polygon_SideInDown_VecLine [nbDEMLines];
std::vector<ImageInPixelType> Polygon_SideOutUp_VecLine [nbDEMLines];
std::vector<ImageInPixelType> Polygon_SideOutDown_VecLine [nbDEMLines];
std::vector<ImageInPixelType> * Polygon_SideInUp_VecLine = new std::vector<ImageInPixelType>[nbDEMLines];
std::vector<ImageInPixelType> * Polygon_SideInDown_VecLine = new std::vector<ImageInPixelType>[nbDEMLines];
std::vector<ImageInPixelType> * Polygon_SideOutUp_VecLine = new std::vector<ImageInPixelType>[nbDEMLines];
std::vector<ImageInPixelType> * Polygon_SideOutDown_VecLine = new std::vector<ImageInPixelType>[nbDEMLines];
// Pixel of otb::VectorImage (input) : 4 Components : C, L, Z and Y
@@ -1238,7 +1238,11 @@ namespace otb
}
} // End lines (Main output)
delete [] Polygon_SideInUp_VecLine;
delete [] Polygon_SideInDown_VecLine;
delete [] Polygon_SideOutUp_VecLine;
delete [] Polygon_SideOutDown_VecLine;
}
Loading