mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +08:00
返回值去除std::move
This commit is contained in:
@@ -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(){
|
||||
|
||||
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user