🚨 fix compiler warnings #2049
This commit is contained in:
parent
be137609df
commit
4fb0795ec1
4 changed files with 7 additions and 9 deletions
|
@ -259,8 +259,7 @@ class serializer
|
|||
{
|
||||
dump_integer(*i);
|
||||
o->write_character(',');
|
||||
int index = i - val.m_value.binary->cbegin();
|
||||
if (index % 16 == 0)
|
||||
if (std::distance(val.m_value.binary->cbegin(), i) % 16 == 0)
|
||||
{
|
||||
o->write_character('\n');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue