mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
add const cast
This commit is contained in:
parent
5dbaa39b88
commit
26b975a120
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ std::string decode(unsigned char *input, size_t len)
|
|||
bmem = BIO_new_mem_buf(input, len);
|
||||
bmem = BIO_push(b64, bmem);
|
||||
|
||||
BIO_read(bmem, str.data(), str.capacity());
|
||||
BIO_read(bmem, const_cast<std::string::value_type *>(str.data()), str.capacity());
|
||||
|
||||
BIO_free_all(bmem);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue