X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_CompoundBuilder.cpp;h=a988d3bb2a8dfd798efdc027e0619347032b34e6;hb=55c9a4558cec9e3e781a0e0bc66f9d0bf418a611;hp=2882ee2fae576ef9973cb9b07a9e4de6229af816;hpb=6654a921211670c15a79a997ca666a174fe8a6f6;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.cpp index 2882ee2fa..a988d3bb2 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.cpp @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAlgoAPI_CompoundBuilder.cpp // Created: 24 Apr 2014 // Author: Natalia ERMOLAEVA @@ -9,20 +11,20 @@ #include #include -boost::shared_ptr GeomAlgoAPI_CompoundBuilder::compound - (std::list > theShapes) +std::shared_ptr GeomAlgoAPI_CompoundBuilder::compound( + std::list > theShapes) { BRep_Builder aBuilder; TopoDS_Compound aComp; aBuilder.MakeCompound(aComp); - std::list >::const_iterator anIt = theShapes.begin(), - aLast = theShapes.end(); + std::list >::const_iterator anIt = theShapes.begin(), aLast = + theShapes.end(); for (; anIt != aLast; anIt++) { aBuilder.Add(aComp, (*anIt)->impl()); } - boost::shared_ptr aRes(new GeomAPI_Shape); + std::shared_ptr aRes(new GeomAPI_Shape); aRes->setImpl(new TopoDS_Shape(aComp)); return aRes; }