From b3b239289332395d4ea0a687b14faf841a499415 Mon Sep 17 00:00:00 2001 From: Adrien Prost-Boucle Date: Tue, 1 Oct 2024 14:20:19 +0200 Subject: [PATCH] clang-format on basectx.h --- common/kernel/basectx.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/kernel/basectx.h b/common/kernel/basectx.h index 7ff1822829..3f021e82cc 100644 --- a/common/kernel/basectx.h +++ b/common/kernel/basectx.h @@ -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(); }