fix deprecation warning with dune 2.7+

This commit is contained in:
Arne Morten Kvarving 2021-10-29 12:18:36 +02:00
parent 5a54bb0728
commit 371f26ac6b

View File

@ -30,7 +30,11 @@
#include <opm/grid/common/GridEnums.hpp> #include <opm/grid/common/GridEnums.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WellTestState.hpp> #include <opm/parser/eclipse/EclipseState/Schedule/Well/WellTestState.hpp>
#include <opm/simulators/utils/ParallelCommunication.hpp> #include <opm/simulators/utils/ParallelCommunication.hpp>
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 7)
#include <dune/common/parallel/communication.hh>
#else
#include <dune/common/parallel/collectivecommunication.hh> #include <dune/common/parallel/collectivecommunication.hh>
#endif
#include <array> #include <array>
#include <cassert> #include <cassert>