Skip to content
Snippets Groups Projects
Commit 743f4a84 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

MPITraits is a struct an no class.

[[Imported from SVN: r7099]]
parent 0406910f
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ namespace Dune ...@@ -74,7 +74,7 @@ namespace Dune
bool operator >=(const IndexPair<TG,TL>&, const TG&); bool operator >=(const IndexPair<TG,TL>&, const TG&);
template<typename T> template<typename T>
class MPITraits; struct MPITraits;
/** /**
* @brief A pair consisting of a global and local index. * @brief A pair consisting of a global and local index.
...@@ -95,7 +95,7 @@ namespace Dune ...@@ -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 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: public:
/** /**
......
...@@ -48,7 +48,7 @@ namespace Dune ...@@ -48,7 +48,7 @@ namespace Dune
{ {
#if HAVE_MPI #if HAVE_MPI
// friend declaration needed for MPITraits // friend declaration needed for MPITraits
friend class MPITraits<ParallelLocalIndex<T> >; friend struct MPITraits<ParallelLocalIndex<T> >;
#endif #endif
friend std::ostream& operator<<<>(std::ostream& os, const ParallelLocalIndex<T>& index); friend std::ostream& operator<<<>(std::ostream& os, const ParallelLocalIndex<T>& index);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment