mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 20:47:08 +08:00
a024c51536
https://www.viva64.com/en/w/v828/ 编译器会对返回本地变量优化([Named] Return Value Optimization (RVO/NRVO)), 无论是 C++11 之前还是之后, 添加 move 后反而会影响该优化. C++ Core Guidelines F.48: Do not return std::move(local) |
||
---|---|---|
.. | ||
Codec | ||
Common | ||
Extension | ||
Http | ||
Player | ||
Pusher | ||
Record | ||
Rtmp | ||
Rtp | ||
Rtsp | ||
Shell |