mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
529d0887a3
gcc warned about the following /home/mblatt/src/dune/opm/opm-core/opm/core/wells/WellsManager.cpp: In function ‘std::array<long unsigned int, 3ul> WellsManagerDetail::directionIndices(Opm::CompletionDirection::DirectionEnum)’: /home/mblatt/src/dune/opm/opm-core/opm/core/wells/WellsManager.cpp:191: warning: control reaches end of non-void function To calm it I introduced a throw clause after the switch statements. Thus adding a new enum value will raise a warning on smart compilers, hopefully. |
||
---|---|---|
.. | ||
linalg | ||
pressure | ||
props | ||
simulator | ||
tof | ||
transport | ||
utility | ||
wells | ||
well_controls.h | ||
wells.h |