summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-11-12 21:27:24 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-11-12 21:27:24 +0900
commitdb5cc4db27c0495873c42dbac224ce599b970570 (patch)
tree613ff47bafeb779595fec8cd389e9275146864dd /src/util.h
parent5347efb9678c792b38e8525768be92573c663647 (diff)
Don't append character to std::string.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 7a9cdb3a..1c357cb3 100644
--- a/src/util.h
+++ b/src/util.h
@@ -141,7 +141,7 @@ std::string uitos(T value, bool comma = false)
++count;
char digit = value%10+'0';
if(comma && count > 3 && count%3 == 1) {
- str += ',';
+ str += ",";
}
str += digit;
value /= 10;