From 482f98305b5642ce085c9d5db1e8a3c5edffba0e Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@dune-project.org>
Date: Mon, 25 Apr 2005 12:32:37 +0000
Subject: [PATCH] constification

[[Imported from SVN: r1935]]
---
 fem/transfer/mgtransfer.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fem/transfer/mgtransfer.cc b/fem/transfer/mgtransfer.cc
index 2eb346fc2..615fc7aca 100644
--- a/fem/transfer/mgtransfer.cc
+++ b/fem/transfer/mgtransfer.cc
@@ -16,7 +16,7 @@ void Dune::MGTransfer<DiscFuncType>::setup(const FunctionSpaceType& cS, const Fu
   int rows = fS.size();
   int cols = cS.size();
 
-  GridType& grid = fS.getGrid();
+  const GridType& grid = fS.getGrid();
 
   //
   matrix_.resize(rows, cols, GridType::dimension*10);
-- 
GitLab