From fcd99367de05cc6b7fece89a0373c412682c41ed Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 13 Sep 2015 16:13:01 -0500 Subject: [PATCH] Fix warning about unused function argument. --- include/deal.II/base/tensor_accessors.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/deal.II/base/tensor_accessors.h b/include/deal.II/base/tensor_accessors.h index 0f866a4b39..3df3603d48 100644 --- a/include/deal.II/base/tensor_accessors.h +++ b/include/deal.II/base/tensor_accessors.h @@ -545,9 +545,11 @@ namespace TensorAccessors struct ExtractHelper { template - inline static + inline + static typename ReturnType::value_type & - extract(T &t, const ArrayType &indices) + extract(T &t, + const ArrayType &indices) { return ExtractHelper:: template extract::value_type, ArrayType> @@ -561,8 +563,10 @@ namespace TensorAccessors struct ExtractHelper { template - inline static - T &extract(T &t, const ArrayType &indices) + inline + static + T &extract(T &t, + const ArrayType &) { return t; } -- 2.39.5