Pattern: Redundant copy for local const
Issue: -
The const
variable is assigned a copy of the data. You can avoid the unnecessary data copying by converting to const reference.
Pattern: Redundant copy for local const
Issue: -
The const
variable is assigned a copy of the data. You can avoid the unnecessary data copying by converting to const reference.