aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/codesnip.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-09-28 21:39:29 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-09-29 10:16:50 +0200
commitac472b43a0ace04c03c939bc873efb8a18b4e1e3 (patch)
tree75b60dcf94db83bfc51bec021b5568de686f596e /sources/shiboken6/ApiExtractor/codesnip.cpp
parentc662c744cf91f966dbc072afc6d433dbfed380fb (diff)
shiboken6: Fix some compiler warnings
- Add missing include to primitivetypeentry.h, making the header self-sufficient. Amends 21e1bfafa1ed86adfa2e9ec4e990a582e4a20266. - Remove unused function in codesnip.cpp - Do not inject unused functions into qmenubar_wrapper.cpp Pick-to: 6.3 6.2 Change-Id: Iaa077406c91f52ba47ce29534ee2b12bd8c23955 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/codesnip.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/codesnip.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/codesnip.cpp b/sources/shiboken6/ApiExtractor/codesnip.cpp
index 12e71fb70..e442a18a6 100644
--- a/sources/shiboken6/ApiExtractor/codesnip.cpp
+++ b/sources/shiboken6/ApiExtractor/codesnip.cpp
@@ -11,8 +11,6 @@
using namespace Qt::StringLiterals;
-static inline QString callOperator() { return QStringLiteral("operator()"); }
-
QString TemplateInstance::expandCode() const
{
TemplateEntry *templateEntry = TypeDatabase::instance()->findTemplate(m_name);