Merge pull request #1040 from holychaos/master

修改Nakc.cpp在Windows下编译报错的Bug

Fix #1039
This commit is contained in:
Xiaofeng Wang
2021-08-14 17:48:10 +08:00
committed by GitHub

View File

@@ -239,5 +239,5 @@ uint64_t NackContext::reSendNack() {
}
//重传间隔不得低于5ms
return std::max(_rtt, 5);
return max(_rtt, 5);
}