From: Markus Blatt <markus@dr-blatt.de>
Date: Wed, 2 Oct 2024 15:40:21 +0200
Subject: Use Grid::Communication which is there since 2.7

Grid::CollectiveCommunication is gone in 2.10
---
 opm/simulators/flow/CollectDataOnIORank.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opm/simulators/flow/CollectDataOnIORank.hpp b/opm/simulators/flow/CollectDataOnIORank.hpp
index 7ae419f..76aa81f 100644
--- a/opm/simulators/flow/CollectDataOnIORank.hpp
+++ b/opm/simulators/flow/CollectDataOnIORank.hpp
@@ -55,7 +55,7 @@ template <class Grid, class EquilGrid, class GridView>
 class CollectDataOnIORank
 {
 public:
-    using CollectiveCommunication = typename Grid::CollectiveCommunication;
+    using CollectiveCommunication = typename Grid::Communication;
     using P2PCommunicatorType = Dune::Point2PointCommunicator<Dune::SimpleMessageBuffer>;
     using IndexMapType = std::vector<int>;
     using IndexMapStorageType = std::vector<IndexMapType>;
