Skip to content

Commit

Permalink
feat [skip ci]: update single_include
Browse files Browse the repository at this point in the history
  • Loading branch information
ToruNiina committed Aug 6, 2024
1 parent 63d9c04 commit 91b7cd6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion single_include/toml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16494,11 +16494,16 @@ class serializer
}
}
}

if(this->force_inline_ && f == array_format::array_of_tables)
{
f = array_format::multiline;
}
if(a.empty() && f == array_format::array_of_tables)
{
f = array_format::oneline;
}

// --------------------------------------------------------------------

if(f == array_format::array_of_tables)
{
Expand Down

0 comments on commit 91b7cd6

Please sign in to comment.