Make constructor taking one argument explicit.

This commit is contained in:
Markus Blatt 2015-10-28 13:19:42 +01:00
parent c871eaec5f
commit 7d7f37f42d

View File

@ -40,7 +40,7 @@ namespace Opm
RockFromDeck();
/// Creates rock properties with zero porosity and permeability
/// \param number_of_cells The number of cells
RockFromDeck(std::size_t number_of_cells);
explicit RockFromDeck(std::size_t number_of_cells);
/// Initialize from deck and cell mapping.
/// \param eclState The EclipseState (processed deck) produced by the opm-parser code
/// \param number_of_cells The number of cells in the grid.