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

JSON output: add missing comma for paired numerical options

(cherry picked from commit 29c683c6)
parent ce20f933
No related branches found
No related tags found
No related merge requests found
Pipeline #7047 passed
...@@ -310,7 +310,7 @@ OptionsList::writeJsonOutput(ostream &output) const ...@@ -310,7 +310,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