Address compiler warnings #10
This commit is contained in:
@ -28,8 +28,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace macaron {
|
||||
namespace Base64 {
|
||||
namespace macaron::Base64 {
|
||||
static std::string Encode(const char *data, const size_t &len) {
|
||||
static constexpr char sEncodingTable[] = {
|
||||
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
|
||||
@ -135,7 +134,6 @@ static std::string Encode(const char *data, const size_t &len) {
|
||||
|
||||
return out;
|
||||
}
|
||||
} // namespace Base64
|
||||
} // namespace macaron
|
||||
} // namespace macaron::Base64
|
||||
|
||||
#endif /* _MACARON_BASE64_H_ */
|
||||
|
Reference in New Issue
Block a user