mirror of https://git.suyu.dev/suyu/suyu
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.merge-requests/60/head
parent
c994cdc532
commit
cd46b267f5
Loading…
Reference in New Issue