D26299: endl is namespaced in qt5.15

Aleix Pol Gonzalez noreply at phabricator.kde.org
Tue Dec 31 18:39:29 GMT 2019


apol added inline comments.

INLINE COMMENTS

> prison-datamatrix.cpp:39
>    QTextStream str(stdout);
> -  str << error << ": " << errormessage << endl;
> +  str << error << ": " << errormessage
> +       #if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))

Wouldn't make more sense to port to std::endl which as been around since forever? Or pass a '\n'.

REPOSITORY
  R280 Prison

REVISION DETAIL
  https://phabricator.kde.org/D26299

To: mlaurent, dfaure
Cc: apol, 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/20191231/2b3cbd55/attachment.html>


More information about the Kde-frameworks-devel mailing list