]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
[tuleap29468] : For Acceptance, fix compilation error
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 29 Jul 2022 12:47:32 +0000 (14:47 +0200)
committerjfa <jfa@opencascade.com>
Fri, 4 Nov 2022 10:11:06 +0000 (13:11 +0300)
src/GEOM_I/GEOM_IMeasureOperations_i.cc
src/GEOM_I/GEOM_IMeasureOperations_i.hh

index a41f597d0f19e2ad94e9072cfc5bfc1327e1c492..e829aceabec2103f9a95aacade55111c6424349b 100644 (file)
@@ -1477,7 +1477,7 @@ GEOM::GEOM_Object_ptr GEOM_IMeasureOperations_i::ShapeProximityCalculator(GEOM::
  //=============================================================================
 void GEOM_IMeasureOperations_i::SetShapeSampling(GEOM::GEOM_Object_ptr theCalculator,
                                                  GEOM::GEOM_Object_ptr theShape,
-                                                 long theNbSamples)
+                                                 CORBA::Long theNbSamples)
 {
   //Set a not done flag
   GetOperations()->SetNotDone();
index bcaf83c986ab597e1b6446bec3c6c6da880460f6..ded2f9c4122e45132d67ff728d43475315f14a24 100644 (file)
@@ -196,7 +196,7 @@ class GEOM_I_EXPORT GEOM_IMeasureOperations_i :
                                                   GEOM::GEOM_Object_ptr theShape2);
   void SetShapeSampling(GEOM::GEOM_Object_ptr theCalculator,
                         GEOM::GEOM_Object_ptr theShape,
-                        long theNbSamples);
+                        CORBA::Long theNbSamples);
   CORBA::Double GetCoarseProximity(GEOM::GEOM_Object_ptr theCalculator);
   CORBA::Double GetPreciseProximity(GEOM::GEOM_Object_ptr theCalculator);