@@ -619,10 +619,8 @@ void OpRcPtrVec::optimize(OptimizationFlags oFlags)
619619 if (IsDebugLoggingEnabled ())
620620 {
621621 std::ostringstream oss;
622- oss << std::endl
623- << " **" << std::endl
624- << " Optimizing Op Vec..." << std::endl
625- << SerializeOpVec (*this , 4 ) << std::endl;
622+ oss << " \n **\n Optimizing Op Vec...\n "
623+ << SerializeOpVec (*this , 4 ) << " \n " ;
626624
627625 LogDebug (oss.str ());
628626 }
@@ -639,8 +637,7 @@ void OpRcPtrVec::optimize(OptimizationFlags oFlags)
639637 OpRcPtrVec::size_type finalSize = size ();
640638
641639 std::ostringstream os;
642- os << " **" << std::endl;
643- os << " Optimized " ;
640+ os << " **\n Optimized " ;
644641 os << originalSize << " ->" << finalSize << " , 1 pass, " ;
645642 os << total_nooptype << " no-op types removed\n " ;
646643 os << SerializeOpVec (*this , 4 );
@@ -727,11 +724,11 @@ void OpRcPtrVec::optimize(OptimizationFlags oFlags)
727724 if (passes == MAX_OPTIMIZATION_PASSES)
728725 {
729726 std::ostringstream os;
730- os << " The max number of passes, " << passes << " , " ;
731- os << " was reached during optimization. This is likely a sign " ;
732- os << " that either the complexity of the color transform is " ;
733- os << " very high, or that some internal optimizers are in conflict " ;
734- os << " (undo-ing / redo-ing the other's results)." ;
727+ os << " The max number of passes, " << passes << " , "
728+ " was reached during optimization. This is likely a sign "
729+ " that either the complexity of the color transform is "
730+ " very high, or that some internal optimizers are in conflict "
731+ " (undo-ing / redo-ing the other's results)." ;
735732 LogDebug (os.str ());
736733 }
737734
@@ -740,8 +737,7 @@ void OpRcPtrVec::optimize(OptimizationFlags oFlags)
740737 OpRcPtrVec::size_type finalSize = size ();
741738
742739 std::ostringstream os;
743- os << " **" << std::endl;
744- os << " Optimized " ;
740+ os << " **\n Optimized " ;
745741 os << originalSize << " ->" << finalSize << " , " ;
746742 os << passes << " passes, " ;
747743 os << total_nooptype << " no-op types removed, " ;
0 commit comments