diff --git a/dune/solvers/common/canignore.hh b/dune/solvers/common/canignore.hh index eb8b4a7fb7cefa4a26043e1e41113994ec6f3bf4..96a5ade571969c3a58970ccd88fc296236a8dcf8 100644 --- a/dune/solvers/common/canignore.hh +++ b/dune/solvers/common/canignore.hh @@ -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; };