0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Simplified consistent_t and portable_static_assert.

This commit is contained in:
rbock 2015-12-25 09:59:12 +01:00
parent 02f4dd1793
commit 674af5b215
2 changed files with 0 additions and 5 deletions

View File

@ -33,9 +33,6 @@ namespace sqlpp
{ {
struct consistent_t : std::true_type struct consistent_t : std::true_type
{ {
static constexpr bool value = true;
using type = std::true_type;
static void _(){}; static void _(){};
}; };
} }

View File

@ -32,8 +32,6 @@ namespace sqlpp
#define SQLPP_PORTABLE_STATIC_ASSERT(name, message) \ #define SQLPP_PORTABLE_STATIC_ASSERT(name, message) \
struct name : std::false_type \ struct name : std::false_type \
{ \ { \
using type = std::false_type; \
\
template <typename T = void> \ template <typename T = void> \
static void _() \ static void _() \
{ \ { \