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:
parent
86d3f2b4ed
commit
0992636f8c
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user