Skip to content
Snippets Groups Projects
Commit 6982ea13 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

canignore.hh: use default member initializer and defaulted con- and destructor

parent 5765f031
No related branches found
No related tags found
1 merge request!43Minor cleanup
......@@ -18,9 +18,7 @@ public:
/**
* \brief Default constructor
*/
CanIgnore()
: ignoreNodes_(nullptr)
{}
CanIgnore() = default;
/**
* \brief Constructor from bit vector
......@@ -36,8 +34,7 @@ public:
*
* Does NOT delete the bitfield!
*/
~CanIgnore()
{}
~CanIgnore() = default;
/**
* \brief Set bit vector
......@@ -68,7 +65,7 @@ public:
/**
* \brief A flag for each degree of freedom stating whether the dof should be ignored by the solver
*/
const BitVectorType* ignoreNodes_;
const BitVectorType* ignoreNodes_ = nullptr;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment