Skip to content

Commit

Permalink
clang-format on basectx.h
Browse files Browse the repository at this point in the history
  • Loading branch information
marzoul committed Oct 1, 2024
1 parent 0aa8323 commit 90c057f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions common/kernel/basectx.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,10 @@ struct BaseCtx

NetInfo *getNetByAlias(IdString alias) const
{
if(nets.count(alias) > 0) return nets.at(alias).get();
if(net_aliases.count(alias) == 0) return nullptr;
if (nets.count(alias) > 0)
return nets.at(alias).get();
if (net_aliases.count(alias) == 0)
return nullptr;
return nets.at(net_aliases.at(alias)).get();
}

Expand Down

0 comments on commit 90c057f

Please sign in to comment.