mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Made single-argument constructors explicit.
Avoids unintended implicit conversions.
This commit is contained in:
parent
957ad787ad
commit
5fc6cbc16f
@ -66,7 +66,7 @@ namespace Opm
|
|||||||
/// manage control switching does not exist.
|
/// manage control switching does not exist.
|
||||||
///
|
///
|
||||||
/// @param[in] W Existing wells object.
|
/// @param[in] W Existing wells object.
|
||||||
WellsManager(struct Wells* W);
|
explicit WellsManager(struct Wells* W);
|
||||||
|
|
||||||
/// Construct from input deck and grid.
|
/// Construct from input deck and grid.
|
||||||
/// The permeability argument may be zero if the input contain
|
/// The permeability argument may be zero if the input contain
|
||||||
|
Loading…
Reference in New Issue
Block a user