Base: modernize C++: use equals default

This commit is contained in:
wmayer
2023-08-20 14:54:51 +02:00
parent 44884ecaf7
commit db0f6534c3
12 changed files with 57 additions and 198 deletions

View File

@@ -55,31 +55,6 @@ map<string,unsigned int> Type::typemap;
vector<TypeData*> Type::typedata;
set<string> Type::loadModuleSet;
//**************************************************************************
// Construction/Destruction
/**
* A constructor.
* A more elaborate description of the constructor.
*/
Type::Type()
: index(0)
{
}
Type::Type(const Type& type)
:index(type.index)
{
}
/**
* A destructor.
* A more elaborate description of the destructor.
*/
Type::~Type() = default;
void *Type::createInstance()
{
instantiationMethod method = typedata[index]->instMethod;