mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Make portable static assert explicit
This commit is contained in:
parent
c09a0b5ee8
commit
f4612061d7
@ -36,7 +36,7 @@ namespace sqlpp
|
|||||||
struct name : std::false_type \
|
struct name : std::false_type \
|
||||||
{ \
|
{ \
|
||||||
template <typename... T> \
|
template <typename... T> \
|
||||||
name(T&&...) \
|
explicit name(T&&...) \
|
||||||
{ \
|
{ \
|
||||||
static_assert(wrong_t<T...>::value, message); \
|
static_assert(wrong_t<T...>::value, message); \
|
||||||
} \
|
} \
|
||||||
|
Loading…
Reference in New Issue
Block a user