Skip to content
Snippets Groups Projects
Commit f133c203 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

[cleanup] Cleanup CanIgnore

* use nullptr
* use default naming scheme for include guard
parent 3e421cc8
Branches
No related tags found
No related merge requests found
Pipeline #
// -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- // -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
// vi: set et ts=8 sw=4 sts=4: // vi: set et ts=8 sw=4 sts=4:
#ifndef CAN_IGNORE_HH #ifndef DUNE_SOLVERS_COMMON_CANIGNORE_HH
#define CAN_IGNORE_HH #define DUNE_SOLVERS_COMMON_CANIGNORE_HH
/** \brief Abstract base class for solvers and iterationsteps that are /** \brief Abstract base class for solvers and iterationsteps that are
* able to ignore degrees of freedom described by a bit field. * able to ignore degrees of freedom described by a bit field.
...@@ -13,7 +13,7 @@ public: ...@@ -13,7 +13,7 @@ public:
/** \brief Default constructor */ /** \brief Default constructor */
CanIgnore() CanIgnore()
: ignoreNodes_(0) : ignoreNodes_(nullptr)
{} {}
/** \brief Virtual destructor. Does NOT delete the bitfield! */ /** \brief Virtual destructor. Does NOT delete the bitfield! */
...@@ -26,4 +26,4 @@ public: ...@@ -26,4 +26,4 @@ public:
}; };
#endif #endif // DUNE_SOLVERS_COMMON_CANIGNORE_HH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment