gcc warning
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
a83d5c9673
commit
4480c5a929
|
|
@ -106,7 +106,7 @@ public:
|
||||||
int &bidirect_count,
|
int &bidirect_count,
|
||||||
int &load_count,
|
int &load_count,
|
||||||
const Network *network);
|
const Network *network);
|
||||||
virtual void operator()(Pin *pin);
|
virtual void operator()(const Pin *pin);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Pin *drvr_pin_;
|
Pin *drvr_pin_;
|
||||||
|
|
@ -133,7 +133,7 @@ FindNetDrvrLoadCounts::FindNetDrvrLoadCounts(Pin *drvr_pin,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
FindNetDrvrLoadCounts::operator()(Pin *pin)
|
FindNetDrvrLoadCounts::operator()(const Pin *pin)
|
||||||
{
|
{
|
||||||
if (network_->isDriver(pin)) {
|
if (network_->isDriver(pin)) {
|
||||||
if (pin != drvr_pin_)
|
if (pin != drvr_pin_)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue