strbuffer: remove if, it's not needed

This commit is contained in:
Andrzej Rybczak
2012-09-01 08:57:07 +02:00
parent 1bb3907b50
commit 12ca003350

View File

@@ -210,8 +210,7 @@ template <typename C> class basic_buffer
buf.LoadAttribute(w, b->Value); buf.LoadAttribute(w, b->Value);
b++; b++;
} }
if (i < s.length()) tmp += s[i];
tmp += s[i];
} }
if (!tmp.empty()) if (!tmp.empty())
w << tmp; w << tmp;