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

fixed static_assert message wording

This commit is contained in:
rbock 2014-08-21 13:21:27 +02:00
parent a9339b54ad
commit 10853abb0a

View File

@ -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}} };
} }