fix minor issues

This commit is contained in:
wmayer
2019-02-12 11:16:52 +01:00
parent 4e2ae6f408
commit 0c3bfc4ff3
2 changed files with 5 additions and 5 deletions

View File

@@ -380,8 +380,8 @@ public:
Base::Vector3d getStartPoint(bool emulateCCWXY) const;
Base::Vector3d getEndPoint(bool emulateCCWXY) const;
inline virtual Base::Vector3d getStartPoint() const {return getStartPoint(false);};
inline virtual Base::Vector3d getEndPoint() const {return getEndPoint(false);};
inline virtual Base::Vector3d getStartPoint() const {return getStartPoint(false);}
inline virtual Base::Vector3d getEndPoint() const {return getEndPoint(false);}
/*!
* \deprecated use getLocation
* \brief getCenter
@@ -398,8 +398,8 @@ public:
virtual void getRange(double& u, double& v, bool emulateCCWXY) const = 0;
virtual void setRange(double u, double v, bool emulateCCWXY) = 0;
inline virtual void getRange(double& u, double& v) const { getRange(u,v,false);};
inline virtual void setRange(double u, double v) { setRange(u,v,false);};
inline virtual void getRange(double& u, double& v) const { getRange(u,v,false);}
inline virtual void setRange(double u, double v) { setRange(u,v,false);}
bool isReversed() const;
double getAngleXU(void) const;

View File

@@ -48,7 +48,7 @@ PyObject *TrimmedCurvePy::PyMake(struct _typeobject *, PyObject *, PyObject *)
{
// never create such objects with the constructor
PyErr_SetString(PyExc_RuntimeError,
"You cannot create an instance of the abstract class 'BoundedCurve'.");
"You cannot create an instance of the abstract class 'TrimmedCurve'.");
return 0;
}