File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7030,7 +7030,7 @@ class dbChipInst : public dbObject
70307030 public:
70317031 std::string getName () const ;
70327032
7033- void setLoc (Point3D loc);
7033+ void setLoc (const Point3D& loc);
70347034
70357035 Point3D getLoc () const ;
70367036
@@ -7039,7 +7039,7 @@ class dbChipInst : public dbObject
70397039 dbChip* getParentChip () const ;
70407040
70417041 // User Code Begin dbChipInst
7042- void setOrient (dbOrientType orient);
7042+ void setOrient (const dbOrientType& orient);
70437043
70447044 dbOrientType getOrient () const ;
70457045
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ class Point3D : public Point
7373 Point3D (const Point3D& p) : Point(p.getX(), p.getY()), z_(p.getZ()) {}
7474 Point3D (const Point& p, int z) : Point(p), z_(z) {}
7575
76- bool operator ==(const Point3D& pIn ) const ;
77- bool operator !=(const Point3D& pIn ) const { return !(*this == pIn ); }
76+ bool operator ==(const Point3D& rhs ) const ;
77+ bool operator !=(const Point3D& rhs ) const { return !(*this == rhs ); }
7878 bool operator <(const Point3D& rhs) const ;
7979 bool operator >=(const Point3D& rhs) const { return !(*this < rhs); }
8080
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ std::string dbChipInst::getName() const
9292 return obj->name_ ;
9393}
9494
95- void dbChipInst::setLoc (Point3D loc)
95+ void dbChipInst::setLoc (const Point3D& loc)
9696{
9797 _dbChipInst* obj = (_dbChipInst*) this ;
9898
@@ -126,7 +126,7 @@ dbChip* dbChipInst::getParentChip() const
126126}
127127
128128// User Code Begin dbChipInstPublicMethods
129- void dbChipInst::setOrient (dbOrientType orient)
129+ void dbChipInst::setOrient (const dbOrientType& orient)
130130{
131131 _dbChipInst* obj = (_dbChipInst*) this ;
132132 obj->orient_ = orient;
You can’t perform that action at this time.
0 commit comments