Warnings on vc14 were eliminated
[occt.git] / src / MeshTest / MeshTest_CheckTopology.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 7e473db..a3e5e65
@@ -1,14 +1,24 @@
-// File:      MeshTest_CheckTopology.hxx
-// Created:   5.10.2004
-// Author:    Michael SAZONOV
-// Copyright: Open CASCADE 2004
+// Created on: 2004-05-10
+// Created by: Michael SAZONOV
+// Copyright (c) 2004-2014 OPEN CASCADE SAS
+//
+// This file is part of Open CASCADE Technology software library.
+//
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
+// by the Free Software Foundation, with special exception defined in the file
+// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
+// distribution for complete text of the license and disclaimer of any warranty.
+//
+// Alternatively, this file may be used under the terms of Open CASCADE
+// commercial license or contractual agreement.
 
 #ifndef MeshTest_CheckTopology_HeaderFile
 #define MeshTest_CheckTopology_HeaderFile
 
 #include <TopoDS_Shape.hxx>
 #include <NCollection_IndexedDataMap.hxx>
-#include <TColStd_SequenceOfInteger.hxx>
+#include <TColStd_HSequenceOfInteger.hxx>
 #include <TColStd_SequenceOfReal.hxx>
 #include <Draw_Interpretor.hxx>
 
@@ -48,7 +58,7 @@ public:
 
   //! returns the number free links on a face with the given index
   Standard_Integer NbFreeLinks(const Standard_Integer theIndex) const
-  { return myMapFaceLinks(theIndex).Length() / 2; }
+  { return myMapFaceLinks(theIndex)->Length() / 2; }
 
   //! gets the numbers of nodes of a free link with the given index
   //! in the face with the given index
@@ -93,7 +103,7 @@ public:
 
 private:
   TopoDS_Shape myShape;
-  NCollection_IndexedDataMap<Standard_Integer,TColStd_SequenceOfInteger>
+  NCollection_IndexedDataMap<Standard_Integer,Handle(TColStd_HSequenceOfInteger)>
                myMapFaceLinks;
 
   TColStd_SequenceOfInteger myErrors;