summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-01-19 17:04:55 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-01-19 17:04:55 -0500
commit083a9e0927144a9e2f052bc8573da8a26259a257 (patch)
tree7a1ba730c7bb31c0f41e887d2d732ecaca7dbb63 /indra
parent6fddfab6dd8e49dcbf4933bde23dbcdfe3e213db (diff)
To grow std::string by a char, use push_back() instead of append().
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/llprocesslauncher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llprocesslauncher.cpp b/indra/llcommon/llprocesslauncher.cpp
index adad3546fe..5791d14ec0 100644
--- a/indra/llcommon/llprocesslauncher.cpp
+++ b/indra/llcommon/llprocesslauncher.cpp
@@ -92,7 +92,7 @@ static std::string quote(const std::string& str)
{
result.append("\\");
}
- result.append(*ci);
+ result.push_back(*ci);
}
return result + "\"";
}