File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -289,10 +289,10 @@ jwt_signature::get_verify_algorithm_impl(const jwt_header& hdr) const noexcept
289
289
290
290
291
291
//
292
- template <typename First, typename ... Rest>
292
+ template <typename First, typename ... Rest,
293
+ typename SFINAE_COND>
293
294
jwt_object::jwt_object (
294
- std::enable_if_t <detail::meta::is_parameter_concept<First>::value, First>&& first,
295
- Rest&&... rest)
295
+ First&& first, Rest&&... rest)
296
296
{
297
297
static_assert (detail::meta::is_parameter_concept<First>::value &&
298
298
detail::meta::are_all_params<Rest...>::value,
Original file line number Diff line number Diff line change @@ -888,8 +888,9 @@ class jwt_object
888
888
* containers which models `MappingConcept` (see `meta::is_mapping_concept`)
889
889
* to populate header. Not much useful unless JWE is supported.
890
890
*/
891
- template <typename First, typename ... Rest>
892
- jwt_object (std::enable_if_t <detail::meta::is_parameter_concept<First>::value, First>&& first, Rest&&... rest);
891
+ template <typename First, typename ... Rest,
892
+ typename =std::enable_if_t <detail::meta::is_parameter_concept<First>::value>>
893
+ jwt_object (First&& first, Rest&&... rest);
893
894
894
895
public: // Exposed static APIs
895
896
/* *
You can’t perform that action at this time.
0 commit comments