D26432: Port endl to std::cout/std::cerr or "\n" + flush when necessary. In qt5.15 endl is namespaced.
David Faure
noreply at phabricator.kde.org
Mon Jan 6 23:08:11 GMT 2020
dfaure added inline comments.
INLINE COMMENTS
> mlaurent wrote in kconfig_compiler.cpp:694
> I think that it was a problem when QTextStream used QString which doesn't flush it.
> code is a QString
I think you're confusing two cases.
The "underlying device" goes away before the QTextStream ==> this only works when the device is a proper QIODevice, while a QString has no "closed notification".
The QTextStream goes away before the underlying device. No problem in either case, the QTextStream destructor flushes.
REPOSITORY
R237 KConfig
REVISION DETAIL
https://phabricator.kde.org/D26432
To: mlaurent, dfaure, tcanabrava
Cc: anthonyfieroni, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200106/2a4dd8fd/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list