Skip to content

Commit 8642cb0

Browse files
authored
Fixed a build error (#91)
`jwt.h` previously depended on the nlohmann JSON library's inclusion of `iso646.h`, which defines the `not` operator.
1 parent 9711259 commit 8642cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/jwt-cpp/jwt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ namespace jwt {
13841384
struct supports_as_integer {
13851385
static constexpr auto value =
13861386
std::is_signed<integer_type>::value &&
1387-
not std::is_floating_point<integer_type>::value &&
1387+
!std::is_floating_point<integer_type>::value &&
13881388
std::is_constructible<value_type, integer_type>::value &&
13891389
is_detected<as_integer_function, traits_type>::value &&
13901390
std::is_function<as_integer_function<traits_type>>::value &&

0 commit comments

Comments
 (0)