Refactoring getID to a unique global ID for entities

This commit is contained in:
Bartek Kryza
2022-08-11 17:04:16 +02:00
parent d63426e574
commit e4289c4cab
15 changed files with 264 additions and 22 deletions

View File

@@ -87,8 +87,9 @@ std::string class_::base_template() const { return base_template_full_name_; }
bool operator==(const class_ &l, const class_ &r)
{
return (l.name_and_ns() == r.name_and_ns()) &&
(l.templates_ == r.templates_);
return l.id() == r.id();
//(l.name_and_ns() == r.name_and_ns()) &&
// (l.templates_ == r.templates_);
}
void class_::add_type_alias(type_alias &&ta)