Skip to content

Commit

Permalink
Resolve codeql (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
herrcristi authored Dec 21, 2024
1 parent 040d625 commit 502b3c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/impl/base64_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace small::base64impl {
// return 0;

// clang-format off
static constexpr std::array<char, 64>__base64 =
static char __base64[] =
{
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
Expand All @@ -44,7 +44,7 @@ namespace small::base64impl {
// return -1;

// clang-format off
static constexpr std::array<int, 256> __index_of {
static int __index_of[256] = {
-1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/,
-1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/, -1/*.*/,
-1/* */, -1/*!*/, -1/*"*/, -1/*#*/, -1/*$*/, -1/*%*/, -1/*&*/, -1/*'*/, -1/*(*/, -1/*)*/, -1/***/, 62/*+*/, -1/*,*/, -1/*-*/, -1/*.*/, 63/*/*/,
Expand Down

0 comments on commit 502b3c9

Please sign in to comment.