mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make constructor taking one argument explicit.
This commit is contained in:
parent
c871eaec5f
commit
7d7f37f42d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user