From 8642cb058229889e4afc99473788318db874565a Mon Sep 17 00:00:00 2001 From: Speeder Date: Wed, 22 Jul 2020 17:25:22 +0200 Subject: [PATCH] Fixed a build error (#91) `jwt.h` previously depended on the nlohmann JSON library's inclusion of `iso646.h`, which defines the `not` operator. --- include/jwt-cpp/jwt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/jwt-cpp/jwt.h b/include/jwt-cpp/jwt.h index 7ac8b5904..a849fe678 100644 --- a/include/jwt-cpp/jwt.h +++ b/include/jwt-cpp/jwt.h @@ -1384,7 +1384,7 @@ namespace jwt { struct supports_as_integer { static constexpr auto value = std::is_signed::value && - not std::is_floating_point::value && + !std::is_floating_point::value && std::is_constructible::value && is_detected::value && std::is_function>::value &&