QStaticLatin1StringMatcher: fix typo in static_assert

The class name was wrong.

Task-number: QTBUG-100236
Change-Id: I0ffd163bf59682d8326feefb76a4cd8b7e106105
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Marc Mutz 2023-09-19 14:47:52 +02:00
parent 7f4cdb9941
commit 41824a02cb

View File

@ -93,7 +93,8 @@ private:
template <Qt::CaseSensitivity CS, size_t N>
class QStaticLatin1StringMatcher
{
static_assert(N > 2, "QStaticLatin1Matcher makes no sense for finding a single-char pattern");
static_assert(N > 2,
"QStaticLatin1StringMatcher makes no sense for finding a single-char pattern");
QLatin1StringView m_pattern;
using Hasher = std::conditional_t<CS == Qt::CaseSensitive, QtPrivate::QCaseSensitiveLatin1Hash,