mirror of https://github.com/KLayout/klayout.git
Also fixed issue with hash value of LayerProperties
This commit is contained in:
parent
c53c3ae7cf
commit
a4562bee71
|
|
@ -344,11 +344,11 @@ namespace std
|
|||
size_t operator() (const db::LayerProperties &o) const
|
||||
{
|
||||
if (o.is_named ()) {
|
||||
return hfunc (o.name.c_str ());
|
||||
return hfunc (o.name);
|
||||
} else {
|
||||
size_t h = hfunc (o.layer);
|
||||
h = hfunc (o.datatype, h);
|
||||
h = hfunc (o.name.c_str (), h);
|
||||
h = hfunc (o.name, h);
|
||||
return h;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue