fix bug in useless string buffer (use += on std::string, faster)

v1
Brett 2023-07-11 17:50:40 -04:00
parent f15a89328f
commit fc8aa8204a
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ namespace blt::string {
StringBuffer& operator<<(char c);
StringBuffer& operator<<(const std::string& str) {
for (char c : str)
*this << str;
*this << c;
return *this;
}