diff --git a/include/jwt-cpp/base.h b/include/jwt-cpp/base.h index 8e6fc311a..1601f853c 100644 --- a/include/jwt-cpp/base.h +++ b/include/jwt-cpp/base.h @@ -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& fill() { - static std::initializer_list fill{"%3D", "%3d"}; + static std::initializer_list fill() { + std::initializer_list fill{"%3D", "%3d"}; return fill; } };