Skip to content

Commit

Permalink
Merge pull request #13 from theodelrieu/workaround/windows_bug
Browse files Browse the repository at this point in the history
base64url: workaround weird vs2019 bug
  • Loading branch information
theodelrieu authored Jul 16, 2021
2 parents 1c16e33 + ba4b1e3 commit f511256
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ struct basic_base64url_encoding_traits
'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '-', '_'};

static constexpr auto const padding_character = '=';
// for some reason, letting auto breaks on VS2019 and c++latest...
static constexpr char const padding_character = '=';
static constexpr auto const padding_policy = PaddingPolicy;

static constexpr int index_of(char c)
Expand Down

0 comments on commit f511256

Please sign in to comment.