We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d957ce8 commit 1a2cd2fCopy full SHA for 1a2cd2f
src/odb/src/db/dbBlock.cpp
@@ -3710,7 +3710,7 @@ std::string _dbBlock::makeNewName(
3710
parent->getHierarchicalName(),
3711
block->getHierarchyDelimiter());
3712
}
3713
- buf.append(base_name, base_name + std::strlen(base_name));
+ buf.append(base_name);
3714
buf.push_back('\0'); // Null-terminate for find* functions
3715
3716
// If uniquify is IF_NEEDED*, check for uniqueness before adding a suffix.
0 commit comments