From 29889ad0a59e02902ef27504e4dfeed76df354c1 Mon Sep 17 00:00:00 2001 From: Sebastian Eibl <sebastian.eibl@fau.de> Date: Tue, 9 Jun 2020 08:41:58 +0000 Subject: [PATCH] [CLANG-TIDY] performance-trivially-destructible --- src/pe/contact/Contact.cpp | 13 ------------- src/pe/contact/Contact.h | 7 ------- 2 files changed, 20 deletions(-) diff --git a/src/pe/contact/Contact.cpp b/src/pe/contact/Contact.cpp index ce7c59ebe..88e635eb2 100644 --- a/src/pe/contact/Contact.cpp +++ b/src/pe/contact/Contact.cpp @@ -67,19 +67,6 @@ Contact::Contact( GeomID g1, GeomID g2, const Vec3& gpos, const Vec3& normal, re } //************************************************************************************************* -//================================================================================================= -// -// DESTRUCTOR -// -//================================================================================================= - -//************************************************************************************************* -/*!\brief Destructor for the Contact class. - */ -Contact::~Contact() -= default; -//************************************************************************************************* - //================================================================================================= // // GET FUNCTIONS diff --git a/src/pe/contact/Contact.h b/src/pe/contact/Contact.h index 51adfc7c3..dc40db14d 100644 --- a/src/pe/contact/Contact.h +++ b/src/pe/contact/Contact.h @@ -92,13 +92,6 @@ public: //@} //********************************************************************************************** - //**Destructor********************************************************************************** - /*!\name Destructor */ - //@{ - ~Contact(); - //@} - //********************************************************************************************** - public: //**Get functions******************************************************************************* /*!\name Get functions */ -- GitLab