From 743f4a84f084c38e331466edb9216b786b627de6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org>
Date: Fri, 1 Feb 2013 02:31:39 +0000
Subject: [PATCH] MPITraits is a struct an no class.

[[Imported from SVN: r7099]]
---
 dune/common/parallel/indexset.hh    | 4 ++--
 dune/common/parallel/plocalindex.hh | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dune/common/parallel/indexset.hh b/dune/common/parallel/indexset.hh
index 164a6fbea..f2523193c 100644
--- a/dune/common/parallel/indexset.hh
+++ b/dune/common/parallel/indexset.hh
@@ -74,7 +74,7 @@ namespace Dune
   bool operator >=(const IndexPair<TG,TL>&, const TG&);
 
   template<typename T>
-  class MPITraits;
+  struct MPITraits;
 
   /**
    * @brief A pair consisting of a global and local index.
@@ -95,7 +95,7 @@ namespace Dune
     friend bool operator> <>(const IndexPair<TG,TL>&, const TG &);
     friend bool operator<=<>(const IndexPair<TG,TL>&, const TG &);
     friend bool operator>=<>(const IndexPair<TG,TL>&, const TG &);
-    friend class MPITraits<IndexPair<TG,TL> >;
+    friend struct MPITraits<IndexPair<TG,TL> >;
 
   public:
     /**
diff --git a/dune/common/parallel/plocalindex.hh b/dune/common/parallel/plocalindex.hh
index ec4ec822d..adeaa378d 100644
--- a/dune/common/parallel/plocalindex.hh
+++ b/dune/common/parallel/plocalindex.hh
@@ -48,7 +48,7 @@ namespace Dune
   {
 #if HAVE_MPI
     // friend declaration needed for MPITraits
-    friend class MPITraits<ParallelLocalIndex<T> >;
+    friend struct MPITraits<ParallelLocalIndex<T> >;
 #endif
     friend std::ostream& operator<<<>(std::ostream& os, const ParallelLocalIndex<T>& index);
 
-- 
GitLab