fixed warning

This commit is contained in:
orignal 2025-03-17 10:16:05 -04:00
parent 93cc810f29
commit 9cc625b19e

View file

@ -39,7 +39,7 @@ namespace data
/** /**
* Compute the size for a buffer to contain encoded base64 given that the size of the input is input_size bytes * Compute the size for a buffer to contain encoded base64 given that the size of the input is input_size bytes
*/ */
constexpr size_t Base64EncodingBufferSize(size_t input_size) inline size_t Base64EncodingBufferSize(size_t input_size)
{ {
auto d = std::div (input_size, 3); auto d = std::div (input_size, 3);
if (d.rem) d.quot++; if (d.rem) d.quot++;