1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-31 17:54:55 +01:00

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;
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
# define qt_endl Qt::endl
constexpr auto qt_endl = Qt::endl;
#else
# define qt_endl endl
constexpr auto qt_endl = endl;
#endif
AsxIniParser::AsxIniParser(CollectionBackendInterface *collection, QObject *parent)

View File

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