rm using std::

Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
James Cherry
2026-03-02 12:13:13 -08:00
parent 94b8fd8f37
commit 741bf4d561
62 changed files with 794 additions and 958 deletions
+1 -3
View File
@@ -45,8 +45,6 @@
namespace sta {
using std::max;
ConcreteParasitic::~ConcreteParasitic()
{
}
@@ -620,7 +618,7 @@ ConcreteParasiticNetwork::ensureParasiticNode(const Net *net,
node = new ConcreteParasiticNode(net, id, network->highestNetAbove(net1) != net_);
sub_nodes_[net_id] = node;
if (net == net_)
max_node_id_ = max((int) max_node_id_, id);
max_node_id_ = std::max((int) max_node_id_, id);
}
else
node = id_node->second;
+2 -3
View File
@@ -24,6 +24,7 @@
#include "ReduceParasitics.hh"
#include <algorithm>
#include <map>
#include <set>
@@ -38,8 +39,6 @@
namespace sta {
using std::max;
typedef std::map<ParasiticNode*, double> ParasiticNodeValueMap;
typedef std::map<ParasiticResistor*, double> ResistorCurrentMap;
typedef std::set<ParasiticResistor*> ParasiticResistorSet;
@@ -174,7 +173,7 @@ ReduceToPi::reducePiDfs(const Pin *drvr_pin,
+ pinCapacitance(node);
y1 = dwn_cap;
y2 = y3 = 0.0;
max_resistance = max(max_resistance, src_resistance);
max_resistance = std::max(max_resistance, src_resistance);
visit(node);
ParasiticResistorSeq &resistors = resistor_map_[node];
+1 -3
View File
@@ -43,8 +43,6 @@
namespace sta {
using std::string;
bool
readSpefFile(const std::string &filename,
Instance *instance,
@@ -616,7 +614,7 @@ SpefTriple::value(int index) const
////////////////////////////////////////////////////////////////
SpefScanner::SpefScanner(std::istream *stream,
const string &filename,
const std::string &filename,
SpefReader *reader,
Report *report) :
yyFlexLexer(stream),