summaryrefslogtreecommitdiffstats
path: root/overloaddata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'overloaddata.cpp')
-rw-r--r--overloaddata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/overloaddata.cpp b/overloaddata.cpp
index 1d81cab1..a71091ea 100644
--- a/overloaddata.cpp
+++ b/overloaddata.cpp
@@ -572,7 +572,7 @@ bool OverloadData::isSingleArgument(const AbstractMetaFunctionList& overloads)
{
bool singleArgument = true;
foreach (const AbstractMetaFunction* func, overloads) {
- if (func->arguments().size() - numberOfRemovedArguments(func) > 1) {
+ if (func->arguments().size() - numberOfRemovedArguments(func) != 1) {
singleArgument = false;
break;
}