From 2290ed97c0c8ade91dafa83ae89ea96c72330b00 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Tue, 5 May 2026 18:20:46 -0700 Subject: [PATCH] rm cast Signed-off-by: James Cherry --- include/sta/Search.hh | 18 +++++++++--------- search/Genclks.cc | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/sta/Search.hh b/include/sta/Search.hh index 2db5b6d5..153463e2 100644 --- a/include/sta/Search.hh +++ b/include/sta/Search.hh @@ -738,15 +738,15 @@ protected: Vertex *to_vertex); // Return false to stop visiting. [[nodiscard]] bool visitArc(const Pin *from_pin, - Vertex *from_vertex, - const RiseFall *from_rf, - Path *from_path, - Edge *edge, - TimingArc *arc, - const Pin *to_pin, - Vertex *to_vertex, - const MinMax *min_max, - const Mode *mode); + Vertex *from_vertex, + const RiseFall *from_rf, + Path *from_path, + Edge *edge, + TimingArc *arc, + const Pin *to_pin, + Vertex *to_vertex, + const MinMax *min_max, + const Mode *mode); // This calls visit below with everything required to make to_path. // Return false to stop visiting. virtual bool visitFromPath(const Pin *from_pin, diff --git a/search/Genclks.cc b/search/Genclks.cc index 6e8a39b7..851a601a 100644 --- a/search/Genclks.cc +++ b/search/Genclks.cc @@ -723,7 +723,7 @@ GenclkSrcArrivalVisitor::GenclkSrcArrivalVisitor(Clock *gclk, } GenclkSrcArrivalVisitor::GenclkSrcArrivalVisitor(const GenclkSrcArrivalVisitor &visitor) : - ArrivalVisitor(static_cast(visitor)), + ArrivalVisitor(visitor), gclk_(visitor.gclk_), insert_iter_(visitor.insert_iter_), genclk_info_(visitor.genclk_info_),