mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-14 16:58:34 +00:00
compile error with master #37
This commit is contained in:
parent
fe2e06141f
commit
1cbc5eb5a5
2 changed files with 6 additions and 5 deletions
|
@ -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(
|
jwt_object::jwt_object(
|
||||||
std::enable_if_t<detail::meta::is_parameter_concept<First>::value, First>&& first,
|
First&& first, Rest&&... rest)
|
||||||
Rest&&... rest)
|
|
||||||
{
|
{
|
||||||
static_assert (detail::meta::is_parameter_concept<First>::value &&
|
static_assert (detail::meta::is_parameter_concept<First>::value &&
|
||||||
detail::meta::are_all_params<Rest...>::value,
|
detail::meta::are_all_params<Rest...>::value,
|
||||||
|
|
|
@ -888,8 +888,9 @@ public: // 'tors
|
||||||
* containers which models `MappingConcept` (see `meta::is_mapping_concept`)
|
* containers which models `MappingConcept` (see `meta::is_mapping_concept`)
|
||||||
* to populate header. Not much useful unless JWE is supported.
|
* to populate header. Not much useful unless JWE is supported.
|
||||||
*/
|
*/
|
||||||
template <typename First, typename... Rest>
|
template <typename First, typename... Rest,
|
||||||
jwt_object(std::enable_if_t<detail::meta::is_parameter_concept<First>::value, First>&& first, Rest&&... rest);
|
typename=std::enable_if_t<detail::meta::is_parameter_concept<First>::value>>
|
||||||
|
jwt_object(First&& first, Rest&&... rest);
|
||||||
|
|
||||||
public: // Exposed static APIs
|
public: // Exposed static APIs
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue