From d1d5ea5b21c1a94b09bbca807ccb0ef6162b6a85 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 4 Jun 2014 22:43:29 +0900 Subject: DownloadContext, FileEntry: Use move semantics to path parameter in ctor --- src/DownloadContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DownloadContext.h') 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(); -- cgit