@@ -407,9 +407,8 @@ void symex_target_equationt::convert_assignments(
407
407
decision_procedure.conditional_output (
408
408
decision_procedure.debug (),
409
409
[&step](messaget::mstreamt &mstream) {
410
- std::ostringstream oss;
411
- step.output (oss);
412
- mstream << oss.str () << messaget::eom;
410
+ step.output (mstream);
411
+ mstream << messaget::eom;
413
412
});
414
413
415
414
decision_procedure.set_to_true (step.cond_expr );
@@ -456,9 +455,8 @@ void symex_target_equationt::convert_guards(
456
455
prop_conv.conditional_output (
457
456
prop_conv.debug (),
458
457
[&step](messaget::mstreamt &mstream) {
459
- std::ostringstream oss;
460
- step.output (oss);
461
- mstream << oss.str () << messaget::eom;
458
+ step.output (mstream);
459
+ mstream << messaget::eom;
462
460
});
463
461
464
462
try
@@ -491,9 +489,8 @@ void symex_target_equationt::convert_assumptions(
491
489
prop_conv.conditional_output (
492
490
prop_conv.debug (),
493
491
[&step](messaget::mstreamt &mstream) {
494
- std::ostringstream oss;
495
- step.output (oss);
496
- mstream << oss.str () << messaget::eom;
492
+ step.output (mstream);
493
+ mstream << messaget::eom;
497
494
});
498
495
499
496
try
@@ -527,9 +524,8 @@ void symex_target_equationt::convert_goto_instructions(
527
524
prop_conv.conditional_output (
528
525
prop_conv.debug (),
529
526
[&step](messaget::mstreamt &mstream) {
530
- std::ostringstream oss;
531
- step.output (oss);
532
- mstream << oss.str () << messaget::eom;
527
+ step.output (mstream);
528
+ mstream << messaget::eom;
533
529
});
534
530
535
531
try
@@ -562,9 +558,8 @@ void symex_target_equationt::convert_constraints(
562
558
decision_procedure.conditional_output (
563
559
decision_procedure.debug (),
564
560
[&step](messaget::mstreamt &mstream) {
565
- std::ostringstream oss;
566
- step.output (oss);
567
- mstream << oss.str () << messaget::eom;
561
+ step.output (mstream);
562
+ mstream << messaget::eom;
568
563
});
569
564
570
565
try
@@ -626,9 +621,8 @@ void symex_target_equationt::convert_assertions(
626
621
prop_conv.conditional_output (
627
622
prop_conv.debug (),
628
623
[&step](messaget::mstreamt &mstream) {
629
- std::ostringstream oss;
630
- step.output (oss);
631
- mstream << oss.str () << messaget::eom;
624
+ step.output (mstream);
625
+ mstream << messaget::eom;
632
626
});
633
627
634
628
implies_exprt implication (
0 commit comments