0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Hopefully fixing MSVC compile problem

This commit is contained in:
rbock 2016-06-18 18:28:53 +02:00
parent 47bc9d3942
commit 2d34e57c8f

View File

@ -158,11 +158,13 @@ namespace sqlpp
"dynamic_set() must not be called in a static statement");
template <typename... Assignments>
using check_update_set_t = static_combined_check_t<
static_check_t<logic::all_t<is_assignment_t<Assignments>::value...>::value, assert_update_set_assignments_t>,
static_check_t<logic::all_t<detail::is_assignment_impl<Assignments>::type::value...>::value,
assert_update_set_assignments_t>,
static_check_t<not detail::has_duplicates<typename lhs<Assignments>::type...>::value,
assert_update_set_no_duplicates_t>,
static_check_t<logic::none_t<must_not_update_t<typename lhs<Assignments>::type>::value...>::value,
assert_update_set_allowed_t>,
static_check_t<
logic::none_t<detail::must_not_update_impl<typename lhs<Assignments>::type>::type::value...>::value,
assert_update_set_allowed_t>,
static_check_t<
sizeof...(Assignments) == 0 or
detail::make_joined_set_t<required_tables_of<typename lhs<Assignments>::type>...>::size::value == 1,