返回值去除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

@@ -144,7 +144,7 @@ static ApiArgsType getAllArgs(const Parser &parser) {
for (auto &pr : parser.getUrlArgs()) {
allArgs[pr.first] = pr.second;
}
return std::move(allArgs);
return allArgs;
}
static inline void addHttpListener(){

View File

@@ -163,7 +163,7 @@ static ArgsType make_json(const MediaInfo &args){
body["app"] = args._app;
body["stream"] = args._streamid;
body["params"] = args._param_strs;
return std::move(body);
return body;
}
static void reportServerStarted(){