Skip to content

Commit

Permalink
Fix tidy warning performance-unnecessary-copy-initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
jspanchu committed Jan 6, 2025
1 parent 0bf46f5 commit 7ab3711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Serialization/Manager/vtkObjectManager.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ void vtkObjectManager::PruneUnusedBlobs()
}
for (const auto& iter : this->Context->States().items())
{
const auto state = iter.value();
const auto& state = iter.value();
auto hashIter = state.find("Hash");
if (hashIter != state.end())
{
Expand Down

0 comments on commit 7ab3711

Please sign in to comment.