playlistparsers: Change qt_endl macro to constexpr

This commit is contained in:
Jonas Kvinge
2021-11-09 19:13:12 +01:00
parent 86d3f2b4ed
commit 0992636f8c
2 changed files with 4 additions and 4 deletions

View File

@@ -32,9 +32,9 @@
class CollectionBackendInterface; class CollectionBackendInterface;
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
# define qt_endl Qt::endl constexpr auto qt_endl = Qt::endl;
#else #else
# define qt_endl endl constexpr auto qt_endl = endl;
#endif #endif
AsxIniParser::AsxIniParser(CollectionBackendInterface *collection, QObject *parent) AsxIniParser::AsxIniParser(CollectionBackendInterface *collection, QObject *parent)

View File

@@ -36,9 +36,9 @@
class CollectionBackendInterface; class CollectionBackendInterface;
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
# define qt_endl Qt::endl constexpr auto qt_endl = Qt::endl;
#else #else
# define qt_endl endl constexpr auto qt_endl = endl;
#endif #endif
PLSParser::PLSParser(CollectionBackendInterface *collection, QObject *parent) PLSParser::PLSParser(CollectionBackendInterface *collection, QObject *parent)