From 1cbc5eb5a54c45b79399483c4357e7e47100f474 Mon Sep 17 00:00:00 2001 From: Arun M Date: Tue, 20 Nov 2018 19:08:08 +0530 Subject: [PATCH] compile error with master #37 --- include/jwt/impl/jwt.ipp | 6 +++--- include/jwt/jwt.hpp | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/include/jwt/impl/jwt.ipp b/include/jwt/impl/jwt.ipp index e5474e3..5e17936 100644 --- a/include/jwt/impl/jwt.ipp +++ b/include/jwt/impl/jwt.ipp @@ -289,10 +289,10 @@ jwt_signature::get_verify_algorithm_impl(const jwt_header& hdr) const noexcept // -template +template jwt_object::jwt_object( - std::enable_if_t::value, First>&& first, - Rest&&... rest) + First&& first, Rest&&... rest) { static_assert (detail::meta::is_parameter_concept::value && detail::meta::are_all_params::value, diff --git a/include/jwt/jwt.hpp b/include/jwt/jwt.hpp index fbb496e..c96edcb 100644 --- a/include/jwt/jwt.hpp +++ b/include/jwt/jwt.hpp @@ -888,8 +888,9 @@ class jwt_object * containers which models `MappingConcept` (see `meta::is_mapping_concept`) * to populate header. Not much useful unless JWE is supported. */ - template - jwt_object(std::enable_if_t::value, First>&& first, Rest&&... rest); + template ::value>> + jwt_object(First&& first, Rest&&... rest); public: // Exposed static APIs /**