]> OCCT Git - occt-copy.git/commitdiff
# fix warnings CR30932_730
authormsv <msv@opencascade.com>
Fri, 20 Sep 2019 12:57:55 +0000 (15:57 +0300)
committerapn <apn@opencascade.com>
Tue, 8 Oct 2019 08:57:19 +0000 (11:57 +0300)
src/Approx/Approx_CurveOnSurface.cxx
src/Approx/Approx_CurveOnSurface.hxx

index c2f92457d8ace56dd5c3ea9e42d8ab118e2e92c8..9bc11d4d5f627541bc53923a45df06ec2a14268a 100644 (file)
@@ -623,7 +623,7 @@ Standard_Boolean Approx_CurveOnSurface::buildC3dOnIsoLine(const Handle(Adaptor2d
   }
 
   // Convert arbitrary curve type to the b-spline.
-  myCurve3d = GeomConvert::CurveToBSplineCurve(aC3d, Convert_ParameterisationType::Convert_QuasiAngular);
+  myCurve3d = GeomConvert::CurveToBSplineCurve(aC3d, Convert_QuasiAngular);
   if (!theIsForward)
     myCurve3d->Reverse();
 
index c145aa70464ede23326515f9fc0b76f30875ff99..b14b41cbf690b6f944517b12be3ffb1a90db04e9 100644 (file)
@@ -111,6 +111,9 @@ protected:
                                      const Standard_Real              theParam,
                                      const Standard_Boolean           theIsForward);
 
+private:
+  Approx_CurveOnSurface& operator= (const Approx_CurveOnSurface&);
+
 private:
 
   //! Input curve.