mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
fixed static_assert message wording
This commit is contained in:
parent
a9339b54ad
commit
10853abb0a
@ -90,7 +90,7 @@ namespace sqlpp
|
|||||||
auto operator =(T t) const -> assignment_t<column_t, wrap_operand_t<T>>
|
auto operator =(T t) const -> assignment_t<column_t, wrap_operand_t<T>>
|
||||||
{
|
{
|
||||||
using rhs = wrap_operand_t<T>;
|
using rhs = wrap_operand_t<T>;
|
||||||
static_assert(_is_valid_operand<rhs>::value, "invalid rhs operand assignment operand");
|
static_assert(_is_valid_operand<rhs>::value, "invalid rhs assignment operand");
|
||||||
|
|
||||||
return { *this, {rhs{t}} };
|
return { *this, {rhs{t}} };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user