Base: modernize C++11

* remove redundant void-arg
* use nullptr
* replace deprecated headers
This commit is contained in:
wmayer
2022-01-25 20:21:30 +01:00
parent 6c29c65013
commit cad0d01883
72 changed files with 628 additions and 633 deletions

View File

@@ -27,6 +27,7 @@
#include "PyObjectBase.h"
#ifndef _PreComp_
#include <cassert>
#endif
/// Here the FreeCAD includes sorted by Base,App,Gui......
@@ -45,7 +46,7 @@ TYPESYSTEM_SOURCE_ABSTRACT(Base::Persistence,Base::BaseClass)
//**************************************************************************
// separator for other implementation aspects
unsigned int Persistence::getMemSize (void) const
unsigned int Persistence::getMemSize () const
{
// you have to implement this method in all descending classes!
assert(0);