From: Wolfgang Bangerth Date: Mon, 11 Jan 2016 00:54:40 +0000 (-0600) Subject: Mark all functions that are always_inline also as inline. X-Git-Tag: v8.4.0-rc2~100^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff5427f50ee48871b156a67b3adff9a5f31d5e6d;p=dealii.git Mark all functions that are always_inline also as inline. --- 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 "