aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/shiboken6/ApiExtractor/anystringview_helpers.cpp9
-rw-r--r--sources/shiboken6/ApiExtractor/anystringview_helpers.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/sources/shiboken6/ApiExtractor/anystringview_helpers.cpp b/sources/shiboken6/ApiExtractor/anystringview_helpers.cpp
index d2e33e9c7..35d2d535a 100644
--- a/sources/shiboken6/ApiExtractor/anystringview_helpers.cpp
+++ b/sources/shiboken6/ApiExtractor/anystringview_helpers.cpp
@@ -16,15 +16,6 @@ QTextStream &operator<<(QTextStream &str, QAnyStringView asv)
return str;
}
-QDebug operator<<(QDebug debug, QAnyStringView asv)
-{
- QDebugStateSaver saver(debug);
- debug.noquote();
- debug.nospace();
- asv.visit([&debug](auto s) { debug << s; });
- return debug;
-}
-
static bool asv_containsImpl(QLatin1StringView v, char c)
{
return v.contains(uint16_t(c));
diff --git a/sources/shiboken6/ApiExtractor/anystringview_helpers.h b/sources/shiboken6/ApiExtractor/anystringview_helpers.h
index ae6ee34bf..e1e6ab7f0 100644
--- a/sources/shiboken6/ApiExtractor/anystringview_helpers.h
+++ b/sources/shiboken6/ApiExtractor/anystringview_helpers.h
@@ -11,7 +11,6 @@ QT_FORWARD_DECLARE_CLASS(QTextStream)
QT_FORWARD_DECLARE_CLASS(QDebug)
QTextStream &operator<<(QTextStream &str, QAnyStringView asv);
-QDebug operator<<(QDebug debug, QAnyStringView asv);
bool asv_contains(QAnyStringView asv, char needle);
bool asv_contains(QAnyStringView asv, const char *needle);