diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-23 08:09:45 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-26 11:01:39 +0200 |
| commit | b53dd90cb5aff1f47d7cedbb596af33b9cd9c82d (patch) | |
| tree | fd5d7ca9c9aef527842e46bd8a2823a811a4f86d /sources/shiboken6/tests/libsample/mapuser.cpp | |
| parent | a96676f96ae6011c26dd58567d993cebe4d9d6cf (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/mapuser.cpp')
| -rw-r--r-- | sources/shiboken6/tests/libsample/mapuser.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsample/mapuser.cpp b/sources/shiboken6/tests/libsample/mapuser.cpp index de96fb40e..032d465d8 100644 --- a/sources/shiboken6/tests/libsample/mapuser.cpp +++ b/sources/shiboken6/tests/libsample/mapuser.cpp @@ -41,6 +41,14 @@ MapUser::showMap(std::map<std::string, int> mapping) cout << (*it).first << " => " << (*it).second << endl; } +void MapUser::pointerToMap(std::map<std::string, std::string> *) +{ +} + +void MapUser::referenceToMap(std::map<std::string, std::string> &) +{ +} + std::map<int, std::list<std::list<double> > > MapUser::foo() const { std::map<int, std::list<std::list<double> > > result; |
