Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 294 Bytes

uselessCallsSubstr.md

File metadata and controls

11 lines (6 loc) · 294 Bytes

Pattern: Ineffective call of string::substr()

Issue: -

Description

Ineffective call of function string::substr() because it returns a copy of the object. Use = instead.

Further Reading