In C++, method signatures don't include the return type. For ns-3 bug #723.

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2009-10-16 18:57:07 +01:00
1 parent 71a01435d7
commit 4d03d58b41
1 file changed
-2
-2
View File
@@ -136,8 +136,6 @@ class CppMethod(ForwardWrapperBase):
def matches_signature(self, other):
if self.mangled_name != other.mangled_name:
return False
if self.return_value.ctype != other.return_value.ctype:
return False
if len(self.parameters) != len(other.parameters):
return False
for param1, param2 in zip(self.parameters, other.parameters):