Pattern: Redundant swap()
call
Issue: -
The swap()
function has no logical effect when given itself as parameter (str.swap(str)
).
Pattern: Redundant swap()
call
Issue: -
The swap()
function has no logical effect when given itself as parameter (str.swap(str)
).