Skip to content

Commit

Permalink
Fix gcc 12 compiling error
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanel committed Oct 27, 2023
1 parent ce1f9df commit 096f096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/jwt-cpp/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ namespace jwt {
'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '-', '_'}};
return data;
}
static const std::initializer_list<std::string>& fill() {
static std::initializer_list<std::string> fill{"%3D", "%3d"};
static const std::array<std::string, 2>& fill() {
static const std::array<std::string, 2> fill{"%3D", "%3d"};
return fill;
}
};
Expand Down

0 comments on commit 096f096

Please sign in to comment.