From a2cd40f57c53d4a6a6a71d5fa3df400b877334f1 Mon Sep 17 00:00:00 2001 From: Kazuto Iris <78157415+kazutoiris@users.noreply.github.com> Date: Thu, 26 Feb 2026 10:08:47 +0800 Subject: [PATCH] fix: Revert "Expose 'TimingType' from `TimingArc`. (#380)" (#390) Now the `TimingArcSet` class in `TimingArc.hh` has two identical declarations of the `timingType()` member function with the same signature, return type and implementation, which causes an overload conflict error during the build process. This reverts commit f0c9971015015fa9cded7d2c1427bee55718ddfb. --- include/sta/TimingArc.hh | 1 - 1 file changed, 1 deletion(-) diff --git a/include/sta/TimingArc.hh b/include/sta/TimingArc.hh index caccedf1..347e37f1 100644 --- a/include/sta/TimingArc.hh +++ b/include/sta/TimingArc.hh @@ -170,7 +170,6 @@ public: void deleteTimingArc(TimingArc *arc); TimingArc *findTimingArc(unsigned arc_index); void setRole(const TimingRole *role); - TimingType timingType() const { return attrs_->timingType(); } FuncExpr *cond() const { return attrs_->cond(); } // Cond default is the timing arcs with no condition when there are // other conditional timing arcs between the same pins.