use '= default' when default functions should be used

This commit is contained in:
Axel Kohlmeyer
2021-10-13 23:59:05 -04:00
parent cc416b97f0
commit 2fba6b44e4
76 changed files with 65 additions and 205 deletions

View File

@ -27,8 +27,7 @@ PrismaticJoint::PrismaticJoint(){
u.Dim(1);
udot.Dim(1);
}
PrismaticJoint::~PrismaticJoint(){
}
PrismaticJoint::~PrismaticJoint() = default;
JointType PrismaticJoint::GetType(){
return PRISMATICJOINT;