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

@ -20,10 +20,8 @@
using namespace std;
RigidBody::RigidBody(){
}
RigidBody::~RigidBody(){
}
RigidBody::RigidBody() = default;
RigidBody::~RigidBody() = default;
BodyType RigidBody::GetType(){
return RIGIDBODY;