for ref instead of copy

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2023-01-03 07:53:48 -07:00
parent 904cecf988
commit 64964ee6e4
1 changed files with 1 additions and 1 deletions

View File

@ -946,7 +946,7 @@ ClockGroupLess::operator()(const ClockGroup *clk_group1,
void
WriteSdc::writeClockGroups() const
{
for (auto name_groups : sdc_->clk_groups_name_map_) {
for (auto &name_groups : sdc_->clk_groups_name_map_) {
ClockGroups *clk_groups = name_groups.second;
writeClockGroups(clk_groups);
}