Skip to content
Snippets Groups Projects
Commit 1a1298d9 authored by Christoph Alt's avatar Christoph Alt
Browse files

Module mesh_common: applying clang-tidy modernize-use-nullptr check

parent 419242bc
Branches
Tags release/0.4.1
No related merge requests found
...@@ -56,7 +56,7 @@ public: ...@@ -56,7 +56,7 @@ public:
void numTrianglesToStream( std::ostream & os, const uint_t level ) const override; void numTrianglesToStream( std::ostream & os, const uint_t level ) const override;
uint_t height() const override { return 0; } uint_t height() const override { return 0; }
uint_t numChildren() const override { return 0; }; uint_t numChildren() const override { return 0; };
const Node<MeshType> * getChild( const uint_t /*idx*/ ) const override { WALBERLA_ABORT("DistanceOctree: You are requesting access to children of a Leaf Node!"); return 0; } const Node<MeshType> * getChild( const uint_t /*idx*/ ) const override { WALBERLA_ABORT("DistanceOctree: You are requesting access to children of a Leaf Node!"); return nullptr; }
protected: protected:
std::vector<FaceHandle> triangles_; std::vector<FaceHandle> triangles_;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment