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 15
15
#include < analyses/variable-sensitivity/interval_abstract_value.h>
16
16
#include < analyses/variable-sensitivity/two_value_array_abstract_object.h>
17
17
#include < analyses/variable-sensitivity/value_set_abstract_object.h>
18
+ #include < util/string_utils.h>
18
19
19
20
using abstract_object_sett = value_set_abstract_objectt::abstract_object_sett;
20
21
@@ -411,14 +412,12 @@ void value_set_abstract_objectt::output(
411
412
}
412
413
std::sort (output_values.begin (), output_values.end (), by_length);
413
414
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
+
422
421
out << " :value-set-end" ;
423
422
}
424
423
}
You can’t perform that action at this time.
0 commit comments