返回值去除std::move

This commit is contained in:
xiongziliang
2020-09-21 14:32:56 +08:00
parent 06f1731bca
commit 416d21df36
11 changed files with 12 additions and 12 deletions

View File

@@ -592,7 +592,7 @@ static string getFilePath(const Parser &parser,const MediaInfo &mediaInfo, TcpSe
GET_CONFIG(string, rootPath, Http::kRootPath);
auto ret = File::absolutePath(enableVhost ? mediaInfo._vhost + parser.Url() : parser.Url(), rootPath);
NoticeCenter::Instance().emitEvent(Broadcast::kBroadcastHttpBeforeAccess, parser, ret, static_cast<SockInfo &>(sender));
return std::move(ret);
return ret;
}
/**