Salome HOME
Bos #20438: [CEA] SIGSEGV in SHAPER and GEOM in Pipe binormal. Correction to obtain...
[modules/geom.git] / src / GEOMUtils / GEOMUtils.hxx
index 20201f79912bf5e871f4324120899ef4a908ae46..8efd468ec56763b51e14acc08920f526d7c6e5c5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -116,7 +116,7 @@ namespace GEOMUtils
    * \brief Sort shapes in the list by their coordinates.
    * \param SL The list of shapes to sort.
    */
-  struct CompareShapes : public std::binary_function<TopoDS_Shape, TopoDS_Shape, bool>
+  struct CompareShapes //: public std::binary_function<TopoDS_Shape, TopoDS_Shape, bool>
   {
     CompareShapes (bool isOldSorting)
       : myIsOldSorting(isOldSorting) {}
@@ -254,10 +254,10 @@ namespace GEOMUtils
   Standard_EXPORT bool CheckShape( TopoDS_Shape& shape, bool checkGeometry = false );
 
   /*!
-   * \brief Check boolean and partition operations agruments
+   * \brief Check boolean and partition operations arguments
    *
-   * \param theShape the agrument of an operation to be checked
-   * \return \c true if the agrument is valid for a boolean or partition
+   * \param theShape the argument of an operation to be checked
+   * \return \c true if the argument is valid for a boolean or partition
    *         operation or \c false otherwise
    */
   Standard_EXPORT bool CheckBOPArguments(const TopoDS_Shape &theShape);
@@ -390,6 +390,6 @@ namespace GEOMUtils
                                       const double              theTolShape,
                                       const double              theTolRef);
 
-};
+}
 
 #endif