On 2019/06/21 16:45, Marc Espie wrote:
> On Thu, Jun 20, 2019 at 09:41:23PM +0200, Rafael Sadowski wrote:
> > This's what Qt 5.13 doas. They use "<< endl;" instead of "<< "\n";", I
> > would like to prefer that. std::endl calls std::flush which synchronizes
> > with the underlying storage device.
> > 
> > RS
> 
> 
> I agree with using endl if that's what Qt 5.13 does.
> 
> But it's one specific case where you really do not give a fuck about
> flushing.  After all you are generating a Makefile. Who cares about
> synchronizing after each single line ?

I just used the same as the other nearby lines in the file, for the code
that's there now it's irrelevant as none of the other lines use endl.

Reply via email to