clang-format on basectx.h
This commit is contained in:
parent
7f33329fe1
commit
b3b2392893
@ -213,8 +213,10 @@ struct BaseCtx
|
|||||||
|
|
||||||
NetInfo *getNetByAlias(IdString alias) const
|
NetInfo *getNetByAlias(IdString alias) const
|
||||||
{
|
{
|
||||||
if(nets.count(alias) > 0) return nets.at(alias).get();
|
if (nets.count(alias) > 0)
|
||||||
if(net_aliases.count(alias) == 0) return nullptr;
|
return nets.at(alias).get();
|
||||||
|
if (net_aliases.count(alias) == 0)
|
||||||
|
return nullptr;
|
||||||
return nets.at(net_aliases.at(alias)).get();
|
return nets.at(net_aliases.at(alias)).get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user