Skip to content

Commit 0f20aa6

Browse files
🐛 Relax operator access syntax for MSVC (#132)
1 parent 5d332fb commit 0f20aa6

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
@@ -1800,7 +1800,7 @@ namespace jwt {
18001800

18011801
template<typename object_type, typename value_type, typename string_type>
18021802
using is_subcription_operator_signature =
1803-
typename std::is_same<decltype(std::declval<object_type>().operator[](std::declval<const string_type>())),
1803+
typename std::is_same<decltype(std::declval<object_type>()[std::declval<const string_type>()]),
18041804
value_type&>;
18051805

18061806
template<typename object_type, typename value_type, typename string_type>

0 commit comments

Comments
 (0)