c++14相关代码替换为c++11代码

This commit is contained in:
xiongziliang 2023-06-02 21:43:24 +08:00
parent 7970138966
commit af57691bc8

View File

@ -148,10 +148,10 @@ bool HttpSession::checkWebSocket(){
sendResponse(101, false, nullptr, headerOut, nullptr, true);
};
auto res_cb_flv = [this, header = std::move(headerOut)]() mutable {
auto res_cb_flv = [this, headerOut]() mutable {
_live_over_websocket = true;
header.emplace("Cache-Control", "no-store");
sendResponse(101, false, nullptr, header, nullptr, true);
headerOut.emplace("Cache-Control", "no-store");
sendResponse(101, false, nullptr, headerOut, nullptr, true);
};
//判断是否为websocket-flv