diff options
Diffstat (limited to 'sources/shiboken6/generator/shiboken/overloaddata.cpp')
-rw-r--r-- | sources/shiboken6/generator/shiboken/overloaddata.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sources/shiboken6/generator/shiboken/overloaddata.cpp b/sources/shiboken6/generator/shiboken/overloaddata.cpp index adaadebbd..eae177c7a 100644 --- a/sources/shiboken6/generator/shiboken/overloaddata.cpp +++ b/sources/shiboken6/generator/shiboken/overloaddata.cpp @@ -718,18 +718,6 @@ int OverloadData::numberOfRemovedArguments(const AbstractMetaFunctionCPtr &func, return removed; } -bool OverloadData::isSingleArgument(const AbstractMetaFunctionCList &overloads) -{ - bool singleArgument = true; - for (const auto &func : overloads) { - if (func->arguments().size() - numberOfRemovedArguments(func) != 1) { - singleArgument = false; - break; - } - } - return singleArgument; -} - void OverloadData::dumpGraph(const QString &filename) const { QFile file(filename); |