Skip to content

Commit ee2e00d

Browse files
committed
dtors not needed, turns out a bitset is at least 8 bytes
1 parent bfafc94 commit ee2e00d

24 files changed

Lines changed: 206 additions & 312 deletions

Common/include/geometry/primal_grid/CHexahedron.hpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ struct CHexahedronConnectivity {
5252
*/
5353
class CHexahedron : public CPrimalGridWithConnectivity<CHexahedronConnectivity> {
5454
public:
55-
5655
/*!
5756
* \brief Constructor using the nodes and index.
5857
* \param[in] val_point_0 - Index of the 1st point read from the grid file.
@@ -69,13 +68,8 @@ class CHexahedron : public CPrimalGridWithConnectivity<CHexahedronConnectivity>
6968
unsigned long val_point_4, unsigned long val_point_5,
7069
unsigned long val_point_6, unsigned long val_point_7);
7170

72-
/*!
73-
* \brief Destructor of the class.
74-
*/
75-
~CHexahedron(void) override;
76-
7771
/*!
7872
* \brief Change the orientation of an element.
7973
*/
80-
void Change_Orientation(void) override;
74+
void Change_Orientation() override;
8175
};

Common/include/geometry/primal_grid/CLine.hpp

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,18 @@ struct CLineConnectivity {
5151
* \author F. Palacios
5252
*/
5353
class CLine final : public CPrimalGridWithConnectivity<CLineConnectivity> {
54-
5554
public:
56-
5755
/*!
5856
* \brief Constructor using the nodes and index.
5957
* \param[in] val_point_0 - Index of the 1st triangle point read from the grid file.
6058
* \param[in] val_point_1 - Index of the 2nd triangle point read from the grid file.
6159
*/
6260
CLine(unsigned long val_point_0, unsigned long val_point_1);
6361

64-
/*!
65-
* \brief Destructor of the class.
66-
*/
67-
~CLine(void) override;
68-
6962
/*!
7063
* \brief Change the orientation of an element.
7164
*/
72-
inline void Change_Orientation(void) override {
73-
swap(Nodes[0], Nodes[1]);
65+
inline void Change_Orientation() override {
66+
std::swap(Nodes[0], Nodes[1]);
7467
}
7568
};

0 commit comments

Comments
 (0)