Fix a compiler bug in CentOS
This commit is contained in:
parent
2f123c3dc8
commit
299ea8d408
|
@ -376,7 +376,7 @@ std::shared_ptr<std::string> HttpResponseImpl::renderToString() const
|
|||
{
|
||||
std::lock_guard<std::mutex> lock(*_httpStringMutex);
|
||||
_httpString = std::make_shared<std::string>(*_httpString);
|
||||
memcpy(_httpString->data() + _datePos, newDate, strlen(newDate));
|
||||
memcpy((void *)(_httpString->data() + _datePos), newDate, strlen(newDate));
|
||||
return _httpString;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue