Use std::shared_ptr for Python handle

This commit is contained in:
Joakim Hove
2020-03-31 10:46:17 +02:00
parent 0defd3de8e
commit 68e779a827
3 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ void ensureBlackoilApi()
// that they compile
while (false) {
#if HAVE_ECL_INPUT
Opm::Python python;
auto python = std::make_shared<Opm::Python>();
Opm::Deck deck;
Opm::EclipseState eclState(deck);
Opm::Schedule schedule(deck, eclState, python);