diff --git a/dune/alugrid/3d/gridfactory.hh b/dune/alugrid/3d/gridfactory.hh index 8037df513efadbee6588b9234e7ec33685f2794c..2142be7f001b79ac0b7500a81726857076bc754f 100644 --- a/dune/alugrid/3d/gridfactory.hh +++ b/dune/alugrid/3d/gridfactory.hh @@ -404,16 +404,14 @@ namespace Dune {} /** \brief constructor taking filename */ - GridFactory ( const std::string &filename, - const MPICommunicatorType &communicator = Grid::defaultCommunicator() ) + explicit GridFactory ( const std::string &filename, + const MPICommunicatorType &communicator = Grid::defaultCommunicator() ) : BaseType( filename, communicator ) {} - protected: - template< class, class, int > friend class ALULocalGeometryStorage; /** \brief constructor taking verbosity flag */ - GridFactory ( const bool realGrid, - const MPICommunicatorType &communicator) + explicit GridFactory ( const bool realGrid, + const MPICommunicatorType &communicator = Grid::defaultCommunicator() ) : BaseType( realGrid, communicator ) {} };