Points: modernize C++11

* remove redundant void-arg
* use nullptr
This commit is contained in:
wmayer
2022-01-26 17:53:41 +01:00
parent 4b788d0413
commit 4398ae54dd
19 changed files with 118 additions and 117 deletions

View File

@@ -44,7 +44,7 @@ public:
/// Sets the points to the property
void setValue( const PointKernel& m);
/// get the points (only const possible!)
const PointKernel &getValue(void) const;
const PointKernel &getValue() const;
const Data::ComplexGeoData* getComplexData() const;
//@}
@@ -56,17 +56,17 @@ public:
/** @name Python interface */
//@{
PyObject* getPyObject(void);
PyObject* getPyObject();
void setPyObject(PyObject *value);
//@}
/** @name Undo/Redo */
//@{
/// returns a new copy of the property (mainly for Undo/Redo and transactions)
App::Property *Copy(void) const;
App::Property *Copy() const;
/// paste the value from the property (mainly for Undo/Redo and transactions)
void Paste(const App::Property &from);
unsigned int getMemSize (void) const;
unsigned int getMemSize () const;
//@}
/** @name Save/restore */