Salome HOME
Get rid of compilation warnings. Part II. MSVC warnings.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_MakeShapeList.cpp
index 659399f580cfe2f6c58100510aeca32b47ecd43d..eff0d0fe0ee185a2cdcdc84add88616d042c99bc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #include "GeomAlgoAPI_MakeShapeList.h"
@@ -54,6 +53,12 @@ void GeomAlgoAPI_MakeShapeList::init(const ListOfMakeShape& theMakeShapeList)
   }
 }
 
+const ListOfMakeShape& GeomAlgoAPI_MakeShapeList::list() const
+{
+  return myListOfMakeShape;
+}
+
+
 //==================================================================================================
 void GeomAlgoAPI_MakeShapeList::appendAlgo(
   const GeomMakeShapePtr theMakeShape)
@@ -81,14 +86,14 @@ const GeomShapePtr GeomAlgoAPI_MakeShapeList::shape() const
 void GeomAlgoAPI_MakeShapeList::generated(const GeomShapePtr theOldShape,
                                           ListOfShape& theNewShapes)
 {
-  result(theOldShape,  GeomAlgoAPI_MakeShapeList::Generated, theNewShapes);
+  result(theOldShape, theNewShapes);
 }
 
 //==================================================================================================
 void GeomAlgoAPI_MakeShapeList::modified(const GeomShapePtr theOldShape,
                                          ListOfShape& theNewShapes)
 {
-  result(theOldShape, GeomAlgoAPI_MakeShapeList::Modified, theNewShapes);
+  result(theOldShape, theNewShapes);
 }
 
 //==================================================================================================
@@ -109,7 +114,6 @@ bool GeomAlgoAPI_MakeShapeList::isDeleted(const GeomShapePtr theOldShape)
 
 //==================================================================================================
 void GeomAlgoAPI_MakeShapeList::result(const GeomShapePtr theOldShape,
-                                       OperationType theOperationType,
                                        ListOfShape& theNewShapes)
 {
   if(myListOfMakeShape.empty()) {