File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1628,7 +1628,7 @@ const char* dbNetwork::pathName(const Net* net) const
16281628 db_mod->getName (),
16291629 block_->getHierarchyDelimiter ());
16301630 }
1631- fmt::format_to (back_inserter, " {} " , modnet_name);
1631+ full_path_buf. append ( modnet_name);
16321632 full_path_buf.push_back (' \0 ' );
16331633 return tmpStringCopy (full_path_buf.data ());
16341634 }
Original file line number Diff line number Diff line change @@ -3710,7 +3710,7 @@ std::string _dbBlock::makeNewName(
37103710 parent->getHierarchicalName (),
37113711 block->getHierarchyDelimiter ());
37123712 }
3713- buf.append (base_name, base_name + std::strlen (base_name));
3713+ buf.append (fmt::string_view (base_name));
37143714 buf.push_back (' \0 ' ); // Null-terminate for find* functions
37153715
37163716 // If uniquify is IF_NEEDED*, check for uniqueness before adding a suffix.
You can’t perform that action at this time.
0 commit comments