aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/generator/shiboken/cppgenerator.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-09-27 09:43:04 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-09-29 11:50:52 +0200
commit6ab7d0b384b58c52faf924278f032e796ce42f07 (patch)
treee7b7e633bc3fec406c878a4d3614676ac064f701 /sources/shiboken6/generator/shiboken/cppgenerator.cpp
parent61589ef35ee2ee7af52359940822a9d5f298a69f (diff)
Replace QPair by std::pair
Pick-to: 6.6 6.5 Change-Id: Ic64a2a2c162c54fbbfb6ddc5004ffe1944bfd37a Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/generator/shiboken/cppgenerator.cpp')
-rw-r--r--sources/shiboken6/generator/shiboken/cppgenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/generator/shiboken/cppgenerator.cpp b/sources/shiboken6/generator/shiboken/cppgenerator.cpp
index b15a32d67..95eb61f9a 100644
--- a/sources/shiboken6/generator/shiboken/cppgenerator.cpp
+++ b/sources/shiboken6/generator/shiboken/cppgenerator.cpp
@@ -970,8 +970,8 @@ QString CppGenerator::virtualMethodReturn(TextStream &s, const ApiExtractorResul
// Create an argument for Py_BuildValue() when writing virtual methods.
// Return a pair of (argument, format-char).
-QPair<QString, QChar> CppGenerator::virtualMethodNativeArg(const AbstractMetaFunctionCPtr &func,
- const AbstractMetaArgument &arg)
+std::pair<QString, QChar> CppGenerator::virtualMethodNativeArg(const AbstractMetaFunctionCPtr &func,
+ const AbstractMetaArgument &arg)
{
if (func->hasConversionRule(TypeSystem::TargetLangCode, arg.argumentIndex() + 1))
return {arg.name() + CONV_RULE_OUT_VAR_SUFFIX, u'N'};