diff --git a/include/sqlpp11/update_list.h b/include/sqlpp11/update_list.h index fcdb5b2a..254a21ba 100644 --- a/include/sqlpp11/update_list.h +++ b/include/sqlpp11/update_list.h @@ -158,11 +158,13 @@ namespace sqlpp "dynamic_set() must not be called in a static statement"); template using check_update_set_t = static_combined_check_t< - static_check_t::value...>::value, assert_update_set_assignments_t>, + static_check_t::type::value...>::value, + assert_update_set_assignments_t>, static_check_t::type...>::value, assert_update_set_no_duplicates_t>, - static_check_t::type>::value...>::value, - assert_update_set_allowed_t>, + static_check_t< + logic::none_t::type>::type::value...>::value, + assert_update_set_allowed_t>, static_check_t< sizeof...(Assignments) == 0 or detail::make_joined_set_t::type>...>::size::value == 1,