strbuffer: remove if, it's not needed
This commit is contained in:
1 parent
1bb3907b50
commit
12ca003350
1 file changed
+1
-2
+1
-2
@@ -210,8 +210,7 @@ template <typename C> class basic_buffer
|
||||
buf.LoadAttribute(w, b->Value);
|
||||
b++;
|
||||
}
|
||||
if (i < s.length())
|
||||
tmp += s[i];
|
||||
tmp += s[i];
|
||||
}
|
||||
if (!tmp.empty())
|
||||
w << tmp;
|
||||
|
||||
Reference in new issue
Block a user