From 674af5b2159518fa4e3db9907af4e6610083a766 Mon Sep 17 00:00:00 2001 From: rbock Date: Fri, 25 Dec 2015 09:59:12 +0100 Subject: [PATCH] Simplified consistent_t and portable_static_assert. --- include/sqlpp11/consistent.h | 3 --- include/sqlpp11/portable_static_assert.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/include/sqlpp11/consistent.h b/include/sqlpp11/consistent.h index 6baa2452..f60edd0e 100644 --- a/include/sqlpp11/consistent.h +++ b/include/sqlpp11/consistent.h @@ -33,9 +33,6 @@ namespace sqlpp { struct consistent_t : std::true_type { - static constexpr bool value = true; - using type = std::true_type; - static void _(){}; }; } diff --git a/include/sqlpp11/portable_static_assert.h b/include/sqlpp11/portable_static_assert.h index 6574fc56..6b895a2c 100644 --- a/include/sqlpp11/portable_static_assert.h +++ b/include/sqlpp11/portable_static_assert.h @@ -32,8 +32,6 @@ namespace sqlpp #define SQLPP_PORTABLE_STATIC_ASSERT(name, message) \ struct name : std::false_type \ { \ - using type = std::false_type; \ - \ template \ static void _() \ { \