diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-22 15:33:07 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-22 15:35:48 -0400 |
commit | cd46b267f5715c0900b409d7bcb97f6bc9a43d9e (patch) | |
tree | 6c97e3a7e2727ebbbb84af10b16d1902ff0d283d /src/common/scm_rev.h | |
parent | c994cdc5325ca4539efd0f277960a8083ae344b9 (diff) |
string_util: Remove unnecessary std::string instance in TabsToSpaces()
We can just use the variant of std::string's replace() function that can
replace an occurrence with N copies of the same character, eliminating
the need to allocate a std::string containing a buffer of spaces.
Diffstat (limited to 'src/common/scm_rev.h')
0 files changed, 0 insertions, 0 deletions