diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-15 10:04:31 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-10-01 11:24:55 +0200 |
commit | 6c62738a9a051c4e06444c6d37c766f7ccc696c8 (patch) | |
tree | 3711f480eb18d78b5216fc83d18a59740e81e178 /sources/shiboken6/generator/shiboken/cppgenerator.cpp | |
parent | 82219d035526f2e587db3adc90c03d4901bfba77 (diff) |
shiboken6: Store the AbstractMetaArgument instead of the type in Overloaddata
This makes subsequent refactorings easier.
Task-number: PYSIDE-1660
Change-Id: I2ca708c2e3313c48483c8769eb186123bff5da9b
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/generator/shiboken/cppgenerator.cpp')
-rw-r--r-- | sources/shiboken6/generator/shiboken/cppgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/generator/shiboken/cppgenerator.cpp b/sources/shiboken6/generator/shiboken/cppgenerator.cpp index eacfc681e..4fd5d4094 100644 --- a/sources/shiboken6/generator/shiboken/cppgenerator.cpp +++ b/sources/shiboken6/generator/shiboken/cppgenerator.cpp @@ -2463,7 +2463,7 @@ void CppGenerator::writeTypeCheck(TextStream &s, for (const auto &sibling : siblings) { for (const auto &func : sibling->overloads()) { checkTypeViability(func); - const AbstractMetaType &argType = sibling->argument(func)->type(); + const AbstractMetaType &argType = sibling->overloadArgument(func)->type(); if (!argType.isPrimitive()) continue; if (ShibokenGenerator::isNumber(argType.typeEntry())) |