From e987c38eb08d5498c713db4fc89cd2b082c6ec28 Mon Sep 17 00:00:00 2001
From: Felix Schindler <felix.schindler@wwu.de>
Date: Tue, 17 Mar 2020 13:58:13 +0100
Subject: [PATCH] [common] add 2.6 compat

---
 dune/xt/common/parallel/helper.hh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dune/xt/common/parallel/helper.hh b/dune/xt/common/parallel/helper.hh
index 84992be42..ea9b75127 100644
--- a/dune/xt/common/parallel/helper.hh
+++ b/dune/xt/common/parallel/helper.hh
@@ -15,7 +15,12 @@
 #include <type_traits>
 #include <cassert>
 
-#include <dune/common/parallel/communication.hh>
+#include <dune/common/version.hh>
+#if DUNE_VERSION_GTE(DUNE_COMMON, 2, 7)
+#  include <dune/common/parallel/communication.hh>
+#else
+#  include <dune/common/parallel/collectivecommunication.hh>
+#endif
 
 #include <dune/istl/paamg/pinfo.hh>
 
-- 
GitLab