diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-03 18:56:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-03 18:56:47 +0900 |
| commit | 84bc2c7ae8f14e909df0ce73463e8e24e1b0e464 (patch) | |
| tree | 45ef78266b2d0dda8757767c11c7016a238ffec9 /src/uri.cc | |
| parent | 9bb914b76e61dfed6044afee529eb92344bbca7a (diff) | |
Use std::string::append instead of appending std::string() temporaries.
Diffstat (limited to 'src/uri.cc')
| -rw-r--r-- | src/uri.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -332,7 +332,7 @@ std::string joinUri(const std::string& baseUri, const std::string& uri) !util::endsWith(res, "/")) { res += "/"; } - res += std::string(end, qend); + res.append(end, qend); return res; } } |
