Change id() to use int64_t like the rest of the code

This commit is contained in:
Mathias Baumann 2020-02-27 15:22:55 +01:00
parent 885b68140b
commit 4ed9282b29
2 changed files with 3 additions and 3 deletions

View File

@ -211,10 +211,10 @@ bool OverrideProxy::CompareBySignature::operator()(OverrideProxy const& _a, Over
return _a.overrideComparator() < _b.overrideComparator();
}
size_t OverrideProxy::id() const
int64_t OverrideProxy::id() const
{
return std::visit(GenericVisitor{
[&](auto const* _item) -> size_t { return _item->id(); }
[&](auto const* _item) -> int64_t { return _item->id(); }
}, m_item);
}

View File

@ -66,7 +66,7 @@ public:
bool isFunction() const;
bool isModifier() const;
size_t id() const;
int64_t id() const;
std::shared_ptr<OverrideSpecifier> overrides() const;
std::set<OverrideProxy> baseFunctions() const;
/// This stores the item in the list of base items.