Skip to content
Snippets Groups Projects
Commit 7d26651e authored by Oliver Sander's avatar Oliver Sander
Browse files

[!362] Feature/uggrid avoid warnings

Merge branch 'feature/uggrid-avoid-warnings' into 'master'

ref:core/dune-grid Avoid a few compiler warnings in UGGrid.

See merge request [!362]

  [!362]: gitlab.dune-project.org/core/dune-grid/merge_requests/362
parents 6401ab3d 0b26e0e6
No related branches found
No related tags found
1 merge request!362Feature/uggrid avoid warnings
Pipeline #22498 passed
......@@ -91,7 +91,7 @@ template <int cc>
typename GridImp::template Codim<cc>::Entity
UGGridEntity<0,dim,GridImp>::subEntity ( int i ) const
{
assert(i>=0 && i < subEntities(cc));
assert(i>=0 && i < int(subEntities(cc)));
typename UG_NS<dim>::template Entity<cc>::T* subEntity;
......
......@@ -68,7 +68,7 @@ namespace Dune {
/** \brief Constructor setting up an 'end' iterator
*/
UGGridLeafIterator()
UGGridLeafIterator() : grid_(nullptr)
{
entity_.impl().setToTarget(nullptr,nullptr);
}
......
......@@ -35,7 +35,7 @@ namespace Dune {
enum {codimension = codim};
//! Constructor
explicit UGGridLevelIterator()
explicit UGGridLevelIterator() : gridImp_(nullptr)
{
entity_.impl().setToTarget(nullptr,nullptr);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment