mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-07-07 10:43:54 +02:00
fixed warning
This commit is contained in:
parent
93cc810f29
commit
9cc625b19e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
*/
|
||||
constexpr size_t Base64EncodingBufferSize(size_t input_size)
|
||||
inline size_t Base64EncodingBufferSize(size_t input_size)
|
||||
{
|
||||
auto d = std::div (input_size, 3);
|
||||
if (d.rem) d.quot++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue