fix: Rename variable to avoid collision with C++ 20 keyword (requires)

Signed-off-by: Harsh Vardhan <openroad@chez-vardhan.com>
This commit is contained in:
Harsh Vardhan 2023-03-08 22:58:05 -08:00
parent c94ee132bc
commit a13996edbd
1 changed files with 3 additions and 3 deletions

View File

@ -5865,15 +5865,15 @@ requireds_clk(const RiseFall *rf,
const RiseFall *clk_rf)
{
Sta *sta = Sta::sta();
FloatSeq requires;
FloatSeq requireds;
const ClockEdge *clk_edge = nullptr;
if (clk)
clk_edge = clk->edge(clk_rf);
for (auto path_ap : sta->corners()->pathAnalysisPts()) {
requires.push_back(delayAsFloat(sta->vertexRequired(self, rf, clk_edge,
requireds.push_back(delayAsFloat(sta->vertexRequired(self, rf, clk_edge,
path_ap)));
}
return requires;
return requireds;
}
StringSeq