mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-04 04:00:39 -06:00
Repaired insert to work with expression values again
This commit is contained in:
@@ -57,7 +57,7 @@ namespace sqlpp
|
||||
using rhs = wrap_operand_t<T>;
|
||||
static_assert(_is_valid_comparison_operand<rhs>::value, "invalid rhs operand in comparison");
|
||||
|
||||
return { *static_cast<const Base*>(this), rhs{t} };
|
||||
return { *static_cast<const Base*>(this), {rhs{t}} };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
@@ -66,7 +66,7 @@ namespace sqlpp
|
||||
using rhs = wrap_operand_t<T>;
|
||||
static_assert(_is_valid_comparison_operand<rhs>::value, "invalid rhs operand in comparison");
|
||||
|
||||
return { *static_cast<const Base*>(this), rhs{t} };
|
||||
return { *static_cast<const Base*>(this), {rhs{t}} };
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user