aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/templateptr.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-09-23 08:09:45 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-09-26 11:01:39 +0200
commitb53dd90cb5aff1f47d7cedbb596af33b9cd9c82d (patch)
treefd5d7ca9c9aef527842e46bd8a2823a811a4f86d /sources/shiboken6/tests/libsample/templateptr.cpp
parenta96676f96ae6011c26dd58567d993cebe4d9d6cf (diff)
shiboken6/tests/libsample: Fix warnings about unused parameters
De-inline most offending functions so that the parameter name is preserved in the declaration. Pick-to: 6.3 6.2 Change-Id: I4eaf9b8691502beda5addcfd7099e3a846d5c1a2 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/tests/libsample/templateptr.cpp')
-rw-r--r--sources/shiboken6/tests/libsample/templateptr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libsample/templateptr.cpp b/sources/shiboken6/tests/libsample/templateptr.cpp
index 44be79cfc..a73f78417 100644
--- a/sources/shiboken6/tests/libsample/templateptr.cpp
+++ b/sources/shiboken6/tests/libsample/templateptr.cpp
@@ -3,6 +3,6 @@
#include "templateptr.h"
-void TemplatePtr::dummy(std::list<std::pair<BlackBox *, BlackBox *> > & items)
+void TemplatePtr::dummy(std::list<std::pair<BlackBox *, BlackBox *> > &)
{
}