mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-14 16:58:34 +00:00
prevent -Wimplicit-fallthrough= warning with gcc 8.2.1
This commit is contained in:
parent
a3a0d9c0ec
commit
4234eea1bf
1 changed files with 2 additions and 2 deletions
|
@ -229,16 +229,16 @@ inline std::string base64_decode(const char* in, size_t len)
|
|||
const auto fourth = dmap.at(in[3]);
|
||||
result[i + 2] = (third << 6) | fourth;
|
||||
bytes_wr++;
|
||||
//FALLTHROUGH
|
||||
}
|
||||
//FALLTHROUGH
|
||||
case 3:
|
||||
{
|
||||
const auto second = dmap.at(in[1]);
|
||||
const auto third = dmap.at(in[2]);
|
||||
result[i + 1] = (second << 4) | (third >> 2);
|
||||
bytes_wr++;
|
||||
//FALLTHROUGH
|
||||
}
|
||||
//FALLTHROUGH
|
||||
case 2:
|
||||
{
|
||||
const auto first = dmap.at(in[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue