From: Daniel Arndt Date: Mon, 5 Aug 2019 12:42:16 +0000 (-0400) Subject: Mark DEAL_II_ALWAYS_INLINE function as inline X-Git-Tag: v9.2.0-rc1~1321^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3992a6f8673fdf8553adbef9846121553a2c723e;p=dealii.git Mark DEAL_II_ALWAYS_INLINE function as inline --- diff --git a/include/deal.II/base/symmetric_tensor.h b/include/deal.II/base/symmetric_tensor.h index 4e61bcc597..b9a7adc703 100644 --- a/include/deal.II/base/symmetric_tensor.h +++ b/include/deal.II/base/symmetric_tensor.h @@ -2652,8 +2652,8 @@ constexpr DEAL_II_ALWAYS_INLINE Number * @author Wolfgang Bangerth, 2005 */ template -DEAL_II_CONSTEXPR DEAL_II_ALWAYS_INLINE Number - trace(const SymmetricTensor<2, dim, Number> &d) +DEAL_II_CONSTEXPR inline DEAL_II_ALWAYS_INLINE Number + trace(const SymmetricTensor<2, dim, Number> &d) { Number t = d.data[0]; for (unsigned int i = 1; i < dim; ++i)