Skip to content

Commit

Permalink
qt didn't have qlatin1stringview prior to 6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mnutt committed Jan 12, 2024
1 parent de91f03 commit a9606c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/WTF/wtf/text/qt/StringQt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@
#include <QString>
#include <QStringView>
#include <QByteArrayView>
#if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)
#include <QLatin1StringView>
#else
#include <QLatin1String>
using QLatin1StringView = QLatin1String;
#endif
#include <wtf/StdLibExtras.h>
#include <wtf/text/WTFString.h>

Expand Down

0 comments on commit a9606c2

Please sign in to comment.