Skip to content

Commit

Permalink
Fixed a build error (#91)
Browse files Browse the repository at this point in the history
`jwt.h` previously depended on the nlohmann JSON library's inclusion of `iso646.h`, which defines the `not` operator.
  • Loading branch information
Sp3EdeR authored Jul 22, 2020
1 parent 9711259 commit 8642cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/jwt-cpp/jwt.h
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ namespace jwt {
struct supports_as_integer {
static constexpr auto value =
std::is_signed<integer_type>::value &&
not std::is_floating_point<integer_type>::value &&
!std::is_floating_point<integer_type>::value &&
std::is_constructible<value_type, integer_type>::value &&
is_detected<as_integer_function, traits_type>::value &&
std::is_function<as_integer_function<traits_type>>::value &&
Expand Down

0 comments on commit 8642cb0

Please sign in to comment.