compile error with master #37

This commit is contained in:
Arun M 2018-11-20 19:08:08 +05:30
parent fe2e06141f
commit 1cbc5eb5a5
2 changed files with 6 additions and 5 deletions

View file

@ -289,10 +289,10 @@ jwt_signature::get_verify_algorithm_impl(const jwt_header& hdr) const noexcept
//
template <typename First, typename... Rest>
template <typename First, typename... Rest,
typename SFINAE_COND>
jwt_object::jwt_object(
std::enable_if_t<detail::meta::is_parameter_concept<First>::value, First>&& first,
Rest&&... rest)
First&& first, Rest&&... rest)
{
static_assert (detail::meta::is_parameter_concept<First>::value &&
detail::meta::are_all_params<Rest...>::value,