summaryrefslogtreecommitdiff
path: root/src/DownloadContext.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-06-04 22:43:29 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-06-04 22:43:29 +0900
commitd1d5ea5b21c1a94b09bbca807ccb0ef6162b6a85 (patch)
treecfe233e5192b5ad6ef08b39c3dbe92c842393fc5 /src/DownloadContext.h
parent9b54272190a333f83fb6c7f66875341627e21a70 (diff)
DownloadContext, FileEntry: Use move semantics to path parameter in ctor
Diffstat (limited to 'src/DownloadContext.h')
-rw-r--r--src/DownloadContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DownloadContext.h b/src/DownloadContext.h
index 310bcccc..490ad166 100644
--- a/src/DownloadContext.h
+++ b/src/DownloadContext.h
@@ -97,7 +97,7 @@ public:
// should be escaped with util::escapePath(...).
DownloadContext(int32_t pieceLength,
int64_t totalLength,
- const std::string& path = A2STR::NIL);
+ std::string path = A2STR::NIL);
~DownloadContext();