Salome HOME
Fix valgrind error: Mismatched free() / delete / delete []
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_PassKey.hxx
index 888540471d14dd2daeaf5add6052505fc0e57b68..c21543d9034cf061a8f19caf11468bf756982732 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  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
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 #include <Standard.hxx>
 #include <Standard_Macro.hxx>
 #include <Standard_Integer.hxx>
-#include <TColStd_IndexedMapOfInteger.hxx>
 #include <Standard_Boolean.hxx>
+
 #include <TColStd_ListOfInteger.hxx>
+#include <TColStd_IndexedMapOfInteger.hxx>
 
 //=======================================================================
 //class : GEOMAlgo_PassKey
@@ -65,18 +66,18 @@ class GEOMAlgo_PassKey  {
 
   Standard_EXPORT
     void SetIds(const Standard_Integer aI1,
-               const Standard_Integer aI2) ;
+                const Standard_Integer aI2) ;
 
   Standard_EXPORT
     void SetIds(const Standard_Integer aI1,
-               const Standard_Integer aI2,
-               const Standard_Integer aI3) ;
+                const Standard_Integer aI2,
+                const Standard_Integer aI3) ;
 
   Standard_EXPORT
     void SetIds(const Standard_Integer aI1,
-               const Standard_Integer aI2,
-               const Standard_Integer aI3,
-               const Standard_Integer aI4) ;
+                const Standard_Integer aI2,
+                const Standard_Integer aI3,
+                const Standard_Integer aI4) ;
 
   Standard_EXPORT
     void SetIds(const TColStd_ListOfInteger& aLS) ;