From fac4a06d4555869db0b440cab7ecffe42185ab5f Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Sat, 30 Oct 2010 23:01:58 +0000
Subject: [PATCH] store a reference, copying is forbidden (see Markus latest
 changes)

[[Imported from SVN: r1339]]
---
 dune/istl/paamg/test/galerkintest.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/istl/paamg/test/galerkintest.cc b/dune/istl/paamg/test/galerkintest.cc
index 0c068a18d..fb4e65b84 100644
--- a/dune/istl/paamg/test/galerkintest.cc
+++ b/dune/istl/paamg/test/galerkintest.cc
@@ -80,7 +80,7 @@ void testCoarsenIndices(int N)
 
   ParallelInformation coarseInfo(MPI_COMM_WORLD);
   ParallelIndexSet&      coarseIndices = coarseInfo.indexSet();
-  RemoteIndices coarseRemote = coarseInfo.remoteIndices();
+  RemoteIndices& coarseRemote = coarseInfo.remoteIndices();
 
   typename Dune::PropertyMapTypeSelector<Dune::Amg::VertexVisitedTag,PropertiesGraph>::Type visitedMap = Dune::get(Dune::Amg::VertexVisitedTag(), pg);
 
-- 
GitLab