]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning about unused function argument.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 13 Sep 2015 21:13:01 +0000 (16:13 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 13 Sep 2015 21:13:01 +0000 (16:13 -0500)
include/deal.II/base/tensor_accessors.h

index 0f866a4b39b19196de1c4375f62768f8f6978fd5..3df3603d48a31627b685bd5e322e1f472137c354 100644 (file)
@@ -545,9 +545,11 @@ namespace TensorAccessors
     struct ExtractHelper
     {
       template<typename T, typename ArrayType>
-      inline static
+      inline
+      static
       typename ReturnType<rank - position, T>::value_type &
-      extract(T &t, const ArrayType &indices)
+      extract(T &t,
+              const ArrayType &indices)
       {
         return ExtractHelper<position + 1, rank>::
                template extract<typename ValueType<T>::value_type, ArrayType>
@@ -561,8 +563,10 @@ namespace TensorAccessors
     struct ExtractHelper<rank, rank>
     {
       template<typename T, typename ArrayType>
-      inline static
-      T &extract(T &t, const ArrayType &indices)
+      inline
+      static
+      T &extract(T &t,
+                 const ArrayType &)
       {
         return t;
       }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.