Salome HOME
make hypothesis const
authorjrt <jrt>
Thu, 4 Sep 2003 10:10:23 +0000 (10:10 +0000)
committerjrt <jrt>
Thu, 4 Sep 2003 10:10:23 +0000 (10:10 +0000)
src/SMESH/SMESH_MEFISTO_2D.hxx
src/SMESH/SMESH_Regular_1D.hxx

index aa0f693..870e8d8 100644 (file)
@@ -79,8 +79,8 @@ public:
 protected:
   double _edgeLength;
   double _maxElementArea;
 protected:
   double _edgeLength;
   double _maxElementArea;
-  SMESH_MaxElementArea* _hypMaxElementArea;
-  SMESH_LengthFromEdges* _hypLengthFromEdges;
+  const SMESH_MaxElementArea* _hypMaxElementArea;
+  const SMESH_LengthFromEdges* _hypLengthFromEdges;
 };
 
 #endif
 };
 
 #endif
index fad50e5..09daed9 100644 (file)
@@ -56,8 +56,8 @@ protected:
   double _localLength;
   int _numberOfSegments;
   double _scaleFactor;
   double _localLength;
   int _numberOfSegments;
   double _scaleFactor;
-  SMESH_LocalLength* _hypLocalLength;
-  SMESH_NumberOfSegments* _hypNumberOfSegments;
+  const SMESH_LocalLength* _hypLocalLength;
+  const SMESH_NumberOfSegments* _hypNumberOfSegments;
 };
 
 #endif
 };
 
 #endif