From: jrt Date: Thu, 4 Sep 2003 10:10:23 +0000 (+0000) Subject: make hypothesis const X-Git-Tag: V1_2_2~26 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=97368ef20f17f60608c27e422f6d5054d585b087;hp=5e5d6b74d845669507eb057a88f52ea5701158f3 make hypothesis const --- diff --git a/src/SMESH/SMESH_MEFISTO_2D.hxx b/src/SMESH/SMESH_MEFISTO_2D.hxx index aa0f6931e..870e8d87d 100644 --- a/src/SMESH/SMESH_MEFISTO_2D.hxx +++ b/src/SMESH/SMESH_MEFISTO_2D.hxx @@ -79,8 +79,8 @@ public: protected: double _edgeLength; double _maxElementArea; - SMESH_MaxElementArea* _hypMaxElementArea; - SMESH_LengthFromEdges* _hypLengthFromEdges; + const SMESH_MaxElementArea* _hypMaxElementArea; + const SMESH_LengthFromEdges* _hypLengthFromEdges; }; #endif diff --git a/src/SMESH/SMESH_Regular_1D.hxx b/src/SMESH/SMESH_Regular_1D.hxx index fad50e535..09daed94e 100644 --- a/src/SMESH/SMESH_Regular_1D.hxx +++ b/src/SMESH/SMESH_Regular_1D.hxx @@ -56,8 +56,8 @@ protected: double _localLength; int _numberOfSegments; double _scaleFactor; - SMESH_LocalLength* _hypLocalLength; - SMESH_NumberOfSegments* _hypNumberOfSegments; + const SMESH_LocalLength* _hypLocalLength; + const SMESH_NumberOfSegments* _hypNumberOfSegments; }; #endif