SymbolDatabase: Use std::size_t for Function::getArgument() argument since Function::argCount() returns a std::size_t
This commit is contained in:
parent
57ecdd693c
commit
98b6fa2eaf
|
@ -2067,7 +2067,7 @@ bool Function::isImplicitlyVirtual_rec(const ::Type* baseType, bool& safe) const
|
|||
return false;
|
||||
}
|
||||
|
||||
const Variable* Function::getArgumentVar(unsigned int num) const
|
||||
const Variable* Function::getArgumentVar(std::size_t num) const
|
||||
{
|
||||
for (std::list<Variable>::const_iterator i = argumentList.begin(); i != argumentList.end(); ++i) {
|
||||
if (i->index() == num)
|
||||
|
|
|
@ -505,7 +505,7 @@ public:
|
|||
std::size_t minArgCount() const {
|
||||
return argumentList.size() - initArgCount;
|
||||
}
|
||||
const Variable* getArgumentVar(unsigned int num) const;
|
||||
const Variable* getArgumentVar(std::size_t num) const;
|
||||
unsigned int initializedArgCount() const {
|
||||
return initArgCount;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue