From e936d7995b9f58bc65e1616847951cf7321ff473 Mon Sep 17 00:00:00 2001 From: guido Date: Sun, 19 Sep 2004 21:30:59 +0000 Subject: [PATCH] better handling of const vectors git-svn-id: https://svn.dealii.org/trunk@9640 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/vector_slice.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/base/include/base/vector_slice.h b/deal.II/base/include/base/vector_slice.h index 0746cc563e..9a54fa84ee 100644 --- a/deal.II/base/include/base/vector_slice.h +++ b/deal.II/base/include/base/vector_slice.h @@ -67,10 +67,10 @@ class VectorSlice */ template inline -const VectorSlice +const VectorSlice make_slice (VECTOR& v) { - const VectorSlice r(v); + const VectorSlice r(v); return r; } @@ -85,10 +85,10 @@ make_slice (VECTOR& v) */ template inline -const VectorSlice +const VectorSlice make_slice (VECTOR& v, unsigned int start, unsigned int length) { - const VectorSlice r(v, start, length); + const VectorSlice r(v, start, length); return r; } -- 2.39.5