File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
src/analyses/variable-sensitivity Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1515#include < analyses/variable-sensitivity/interval_abstract_value.h>
1616#include < analyses/variable-sensitivity/two_value_array_abstract_object.h>
1717#include < analyses/variable-sensitivity/value_set_abstract_object.h>
18+ #include < util/string_utils.h>
1819
1920using abstract_object_sett = value_set_abstract_objectt::abstract_object_sett;
2021
@@ -411,14 +412,12 @@ void value_set_abstract_objectt::output(
411412 }
412413 std::sort (output_values.begin (), output_values.end (), by_length);
413414
414- bool comma = false ;
415- for (auto const &value : output_values)
416- {
417- if (comma)
418- out << " , " ;
419- out << value;
420- comma = true ;
421- }
415+ join_strings (
416+ out,
417+ output_values.begin (),
418+ output_values.end (),
419+ " , " );
420+
422421 out << " :value-set-end" ;
423422 }
424423}
You can’t perform that action at this time.
0 commit comments