mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Simplified consistent_t and portable_static_assert.
This commit is contained in:
parent
02f4dd1793
commit
674af5b215
@ -33,9 +33,6 @@ namespace sqlpp
|
||||
{
|
||||
struct consistent_t : std::true_type
|
||||
{
|
||||
static constexpr bool value = true;
|
||||
using type = std::true_type;
|
||||
|
||||
static void _(){};
|
||||
};
|
||||
}
|
||||
|
@ -32,8 +32,6 @@ namespace sqlpp
|
||||
#define SQLPP_PORTABLE_STATIC_ASSERT(name, message) \
|
||||
struct name : std::false_type \
|
||||
{ \
|
||||
using type = std::false_type; \
|
||||
\
|
||||
template <typename T = void> \
|
||||
static void _() \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user