Skip to content
Snippets Groups Projects
Verified Commit 29c683c6 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

JSON output: add missing comma for paired numerical options

parent d64682f3
Branches
Tags
No related merge requests found
...@@ -266,7 +266,7 @@ OptionsList::writeJsonOutput(ostream &output) const ...@@ -266,7 +266,7 @@ OptionsList::writeJsonOutput(ostream &output) const
for (auto it = paired_num_options.begin(); for (auto it = paired_num_options.begin();
it != paired_num_options.end();) it != paired_num_options.end();)
{ {
output << R"(")"<< it->first << R"(": [)" << it->second.first << " " << it->second.second << "]"; output << R"(")"<< it->first << R"(": [)" << it->second.first << ", " << it->second.second << "]";
++it; ++it;
if (it != paired_num_options.end() if (it != paired_num_options.end()
|| !(string_options.empty() || !(string_options.empty()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment