cppcheckdata: fixed loading of function data
This commit is contained in:
parent
dab99e83cd
commit
1270ae2ad8
|
@ -324,7 +324,7 @@ class Function:
|
||||||
self.argument = {}
|
self.argument = {}
|
||||||
self.argumentId = {}
|
self.argumentId = {}
|
||||||
for arg in element:
|
for arg in element:
|
||||||
self.argumentId[arg.get('nr')] = arg.get('id')
|
self.argumentId[int(arg.get('nr'))] = arg.get('variable')
|
||||||
|
|
||||||
def setId(self, IdMap):
|
def setId(self, IdMap):
|
||||||
for argnr, argid in self.argumentId.items():
|
for argnr, argid in self.argumentId.items():
|
||||||
|
|
Loading…
Reference in New Issue