From 486102e7dc64207e735484aee7cdff6be8e48dae Mon Sep 17 00:00:00 2001 From: Chris Mc Date: Fri, 22 May 2020 17:26:45 -0400 Subject: [PATCH] enforce function signature --- include/jwt-cpp/jwt.h | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/include/jwt-cpp/jwt.h b/include/jwt-cpp/jwt.h index 2630fa8..162d9b4 100644 --- a/include/jwt-cpp/jwt.h +++ b/include/jwt-cpp/jwt.h @@ -795,34 +795,38 @@ namespace jwt { class... Args> struct detector { - using value_t = std::false_type; + using value = std::false_type; using type = Default; }; template class Op, class... Args> struct detector>, Op, Args...> { - using value_t = std::true_type; + using value = std::true_type; using type = Op; }; template