Skip to content

Commit

Permalink
Fix style.
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsracz committed Nov 22, 2023
1 parent 62be7ac commit 296f0f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/openlcb/AliasCache.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,10 @@ NodeAlias AliasCache::lookup(NodeID id)
*/
NodeID AliasCache::lookup(NodeAlias alias)
{
if (alias == 0) return 0;
HASSERT(alias != 0);
if (alias == 0)
{
return 0;
}

auto it = aliasMap.find(alias);

Expand Down

0 comments on commit 296f0f9

Please sign in to comment.