Skip to content

Commit 35e3c80

Browse files
committed
odb: requested clang changes
Signed-off-by: osamahammad21 <[email protected]>
1 parent 91a97bd commit 35e3c80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/odb/include/odb/db.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6993,7 +6993,7 @@ class dbChip : public dbObject
69936993
/// Returns nullptr if there is no database technology.
69946994
///
69956995
static dbChip* create(dbDatabase* db,
6996-
std::string name = "",
6996+
const std::string& name = "",
69976997
ChipType type = ChipType::DIE);
69986998

69996999
///

src/odb/src/db/dbChip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ dbBlock* dbChip::getBlock()
475475
return (dbBlock*) chip->_block_tbl->getPtr(chip->_top);
476476
}
477477

478-
dbChip* dbChip::create(dbDatabase* db_, std::string name, ChipType type)
478+
dbChip* dbChip::create(dbDatabase* db_, const std::string& name, ChipType type)
479479
{
480480
_dbDatabase* db = (_dbDatabase*) db_;
481481
_dbChip* chip = db->chip_tbl_->create();

0 commit comments

Comments
 (0)