fix: remove needless empty line from serialization

This commit is contained in:
ToruNiina 2019-02-14 16:17:04 +09:00
parent 251e55da42
commit 19ad7d7c96

View File

@ -411,7 +411,10 @@ struct serializer
token += key_and_sep;
token += visit(serializer(residual_width, this->float_prec_, true),
kv.second);
token += '\n';
if(token.back() != '\n')
{
token += '\n';
}
}
// normal tables / array of tables