aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/generator/shiboken/cppgenerator.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-01-09 17:52:54 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-01-10 09:52:57 +0100
commitdf33823bf1fcd156c51b61c730ea07931ced0492 (patch)
tree2b119f60547f525cbe8369ea14b264eb949645f8 /sources/shiboken6/generator/shiboken/cppgenerator.cpp
parent02e488c6181ea890dfe9d6dc6354295c9e622608 (diff)
shiboken6: Handle multiple template parameters in opaque containers
This is required for std::span<int,N> and paves the way for supporting maps. Task-number: PYSIDE-2174 Change-Id: Iddfacc85f25b6e3a478e7b4e3c3d2031c8f5ec94 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/generator/shiboken/cppgenerator.cpp')
-rw-r--r--sources/shiboken6/generator/shiboken/cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/generator/shiboken/cppgenerator.cpp b/sources/shiboken6/generator/shiboken/cppgenerator.cpp
index a3650662f..237852b0e 100644
--- a/sources/shiboken6/generator/shiboken/cppgenerator.cpp
+++ b/sources/shiboken6/generator/shiboken/cppgenerator.cpp
@@ -169,7 +169,7 @@ static QString opaqueContainerCreationFunc(const AbstractMetaType &type)
QString result = u"create"_s;
if (type.isConstant())
result += u"Const"_s;
- result += containerTypeEntry->opaqueContainerName(instantiationTypeEntry->name());
+ result += containerTypeEntry->opaqueContainerName(type.instantiationCppSignatures());
return result;
}