aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/shiboken6/ApiExtractor/typedatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/typedatabase.cpp b/sources/shiboken6/ApiExtractor/typedatabase.cpp
index 75724e571..749c4baa3 100644
--- a/sources/shiboken6/ApiExtractor/typedatabase.cpp
+++ b/sources/shiboken6/ApiExtractor/typedatabase.cpp
@@ -944,7 +944,7 @@ bool TypeDatabase::isSuppressedWarning(QStringView s) const
return false;
auto wit = std::find_if(d->m_suppressedWarnings.cbegin(), d->m_suppressedWarnings.cend(),
[&s] (const SuppressedWarning &e) {
- return e.pattern.match(s).hasMatch();
+ return e.pattern.matchView(s).hasMatch();
});
const bool found = wit != d->m_suppressedWarnings.cend();
if (found)