Skip to content
Snippets Groups Projects
Commit 371804a6 authored by Robert K's avatar Robert K
Browse files

[bugfix] fix constructors.

parent 6831d9ef
No related branches found
No related tags found
No related merge requests found
...@@ -404,16 +404,14 @@ namespace Dune ...@@ -404,16 +404,14 @@ namespace Dune
{} {}
/** \brief constructor taking filename */ /** \brief constructor taking filename */
GridFactory ( const std::string &filename, explicit GridFactory ( const std::string &filename,
const MPICommunicatorType &communicator = Grid::defaultCommunicator() ) const MPICommunicatorType &communicator = Grid::defaultCommunicator() )
: BaseType( filename, communicator ) : BaseType( filename, communicator )
{} {}
protected:
template< class, class, int > friend class ALULocalGeometryStorage;
/** \brief constructor taking verbosity flag */ /** \brief constructor taking verbosity flag */
GridFactory ( const bool realGrid, explicit GridFactory ( const bool realGrid,
const MPICommunicatorType &communicator) const MPICommunicatorType &communicator = Grid::defaultCommunicator() )
: BaseType( realGrid, communicator ) : BaseType( realGrid, communicator )
{} {}
}; };
......
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