From d8ae9dc77872ef3823868eb4d29173e12cff1209 Mon Sep 17 00:00:00 2001 From: rbock Date: Mon, 21 Jul 2014 07:40:07 +0200 Subject: [PATCH] Fixed type trait code --- include/sqlpp11/type_traits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sqlpp11/type_traits.h b/include/sqlpp11/type_traits.h index 4558863e..2e05b10a 100644 --- a/include/sqlpp11/type_traits.h +++ b/include/sqlpp11/type_traits.h @@ -40,9 +40,9 @@ namespace sqlpp namespace detail\ {\ template\ - struct is_##name##_impl: std::false_type {};\ + struct is_##name##_impl { using type = std::false_type; };\ template\ - struct is_##name##_impl::value>::type>: std::true_type {};\ + struct is_##name##_impl::value>::type> { using type = std::true_type; };\ }\ template\ using is_##name##_t = typename detail::is_##name##_impl::type;