diff --git a/src/playlistparsers/asxiniparser.cpp b/src/playlistparsers/asxiniparser.cpp index c85b78a68..570376a27 100644 --- a/src/playlistparsers/asxiniparser.cpp +++ b/src/playlistparsers/asxiniparser.cpp @@ -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) diff --git a/src/playlistparsers/plsparser.cpp b/src/playlistparsers/plsparser.cpp index 55e118dab..a350d2460 100644 --- a/src/playlistparsers/plsparser.cpp +++ b/src/playlistparsers/plsparser.cpp @@ -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)