From 80fd831cbdfc2b13a848fa9f9c19246338b90ac4 Mon Sep 17 00:00:00 2001 From: Rene Milk <rene.milk@wwu.de> Date: Wed, 24 Aug 2016 09:50:56 +0200 Subject: [PATCH] [type_traits] corrects struct usage --- dune/xt/common/type_traits.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/xt/common/type_traits.hh b/dune/xt/common/type_traits.hh index e0f7ad798..a6973a1d3 100644 --- a/dune/xt/common/type_traits.hh +++ b/dune/xt/common/type_traits.hh @@ -224,7 +224,7 @@ struct is_complex<std::complex<T>> : public std::true_type }; \ \ static const bool value = helper<T_local>::value; \ - } + }; /** * \brief Macro to statically check a type for a typedef. @@ -258,7 +258,7 @@ DXTC_has_typedef(Bar)< Foo >::value static std::false_type helper(...); \ \ static const bool value = decltype(helper<T_local>(0))::value; \ - } + }; /** * \brief Macro to statically check a class or struct for a static member. -- GitLab