Initialize boolean variables in-class.

Initialize the boolean variables hasRunInit_ and hasRunCleanup_ in
the class instead of in the constructor.
This commit is contained in:
Håkon Hægland
2020-11-03 15:59:53 +01:00
parent 0403d4e6e7
commit 53cbe0c57e
2 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ namespace py = pybind11;
namespace Opm::Pybind {
BlackOilSimulator::BlackOilSimulator( const std::string &deckFilename)
: deckFilename_{deckFilename}, hasRunInit_{false}, hasRunCleanup_{false}
: deckFilename_{deckFilename}
{
}