fix clang range-loop-analysis warnings

This commit is contained in:
Jordan Williams
2020-02-11 06:13:55 -06:00
parent 573a6f1d81
commit 3b6417de00
2 changed files with 2 additions and 2 deletions

View File

@@ -619,7 +619,7 @@ struct serializer
// print non-table stuff first. because after printing [foo.bar], the
// remaining non-table values will be assigned into [foo.bar], not [foo]
for(const auto kv : v)
for(const auto& kv : v)
{
if(kv.second.is_table() || is_array_of_tables(kv.second))
{