Make constructor taking one argument explicit.

This commit is contained in:
Markus Blatt
2015-10-28 13:19:42 +01:00
committed by Atgeirr Flø Rasmussen
parent 958b9243bc
commit 6b97556a5f

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.