mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 23:20:33 +00:00
chore: Enable most cppcoreguidelines checks (#7660)
This commit is contained in:
@@ -99,7 +99,7 @@ int
|
||||
Serializer::addRaw(void const* ptr, int len)
|
||||
{
|
||||
int const ret = data_.size();
|
||||
data_.insert(data_.end(), (char const*)ptr, ((char const*)ptr) + len);
|
||||
data_.insert(data_.end(), static_cast<char const*>(ptr), static_cast<char const*>(ptr) + len);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user