From 0f7008599b93476b79cfc07868e99e4cb1418fd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Fritze?= <rene.fritze@wwu.de>
Date: Fri, 7 Aug 2020 09:19:52 +0200
Subject: [PATCH] include some missing headers

---
 dune/xt/common/parallel/communicator.hh | 3 +++
 dune/xt/common/parallel/helper.hh       | 3 +++
 dune/xt/common/string_internal.hh       | 2 +-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dune/xt/common/parallel/communicator.hh b/dune/xt/common/parallel/communicator.hh
index e883412c5..3f1e2718a 100644
--- a/dune/xt/common/parallel/communicator.hh
+++ b/dune/xt/common/parallel/communicator.hh
@@ -16,6 +16,9 @@
 
 #if !HAVE_MPI
 
+// defines No_Comm + CollectiveCommunication
+#  include <dune/common/parallel/communication.hh>
+
 namespace Dune {
 
 
diff --git a/dune/xt/common/parallel/helper.hh b/dune/xt/common/parallel/helper.hh
index 6123550df..30ab7245c 100644
--- a/dune/xt/common/parallel/helper.hh
+++ b/dune/xt/common/parallel/helper.hh
@@ -22,6 +22,9 @@
 #  include <dune/common/parallel/collectivecommunication.hh>
 #endif
 
+// pinfo does not source deprecated.hh and therefore errors out on tidy/headercheck
+#include <dune/common/deprecated.hh>
+#include <dune/common/parallel/communicator.hh>
 #include <dune/istl/paamg/pinfo.hh>
 
 namespace Dune {
diff --git a/dune/xt/common/string_internal.hh b/dune/xt/common/string_internal.hh
index 52ab184f8..246926220 100644
--- a/dune/xt/common/string_internal.hh
+++ b/dune/xt/common/string_internal.hh
@@ -24,7 +24,7 @@
 #include <boost/algorithm/string/trim.hpp>
 #include <boost/lexical_cast.hpp>
 #include <boost/numeric/conversion/cast.hpp>
-#include  <boost/algorithm/string/constants.hpp>
+#include <boost/algorithm/string/constants.hpp>
 #include <dune/xt/common/reenable_warnings.hh>
 
 #include <dune/xt/common/debug.hh>
-- 
GitLab