Skip to content

Commit

Permalink
odb dft: clang-tidy
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Garay <[email protected]>
  • Loading branch information
fgaray committed Apr 5, 2024
1 parent 0dfc089 commit 64d7d93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/odb/src/db/dbScanChain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ void dbScanChain::setName(std::string_view name)
}

std::variant<dbBTerm*, dbITerm*> _dbScanChain::getPin(
dbId<dbScanPin> scan_pin_id)
const dbId<dbScanPin>& scan_pin_id)
{
_dbDft* dft = (_dbDft*) getOwner();
return ((dbScanPin*) dft->scan_pins_->getPtr((dbId<_dbScanPin>) scan_pin_id))
Expand Down
2 changes: 1 addition & 1 deletion src/odb/src/db/dbScanChain.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class _dbScanChain : public _dbObject
void out(dbDiff& diff, char side, const char* field) const;
dbObjectTable* getObjectTable(dbObjectType type);
// User Code Begin Methods
std::variant<dbBTerm*, dbITerm*> getPin(dbId<dbScanPin> scan_pin_id);
std::variant<dbBTerm*, dbITerm*> getPin(const dbId<dbScanPin>& scan_pin_id);
void setPin(dbId<dbScanPin> _dbScanChain::*field, dbBTerm* pin);
void setPin(dbId<dbScanPin> _dbScanChain::*field, dbITerm* pin);
// User Code End Methods
Expand Down

0 comments on commit 64d7d93

Please sign in to comment.