From ff5427f50ee48871b156a67b3adff9a5f31d5e6d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 10 Jan 2016 18:54:40 -0600 Subject: [PATCH] Mark all functions that are always_inline also as inline. --- include/deal.II/base/tensor_accessors.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/deal.II/base/tensor_accessors.h b/include/deal.II/base/tensor_accessors.h index 7f5a71574c..bae083f881 100644 --- a/include/deal.II/base/tensor_accessors.h +++ b/include/deal.II/base/tensor_accessors.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 1998 - 2015 by the deal.II authors +// Copyright (C) 1998 - 2016 by the deal.II authors // // This file is part of the deal.II library. // @@ -183,7 +183,8 @@ namespace TensorAccessors * @author Matthias Maier, 2015 */ template - DEAL_II_ALWAYS_INLINE internal::ReorderedIndexView + inline DEAL_II_ALWAYS_INLINE + internal::ReorderedIndexView reordered_index_view(T &t) { #ifdef DEAL_II_WITH_CXX11 @@ -264,7 +265,8 @@ namespace TensorAccessors * @author Matthias Maier, 2015 */ template - DEAL_II_ALWAYS_INLINE void contract(T1 &result, const T2 &left, const T3 &right) + inline DEAL_II_ALWAYS_INLINE + void contract(T1 &result, const T2 &left, const T3 &right) { #ifdef DEAL_II_WITH_CXX11 static_assert(rank_1 >= no_contr, "The rank of the left tensor must be " -- 2.39.5