1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix build fail

This commit is contained in:
winlin 2020-09-13 10:41:37 +08:00
parent 66c680edb1
commit 962c379299
3 changed files with 8 additions and 8 deletions

View file

@ -620,7 +620,7 @@ srs_error_t SrsHttpServeMux::initialize()
void SrsHttpServeMux::hijack(ISrsHttpMatchHijacker* h)
{
std::vector<ISrsHttpMatchHijacker*>::iterator it = ::find(hijackers.begin(), hijackers.end(), h);
std::vector<ISrsHttpMatchHijacker*>::iterator it = std::find(hijackers.begin(), hijackers.end(), h);
if (it != hijackers.end()) {
return;
}
@ -629,7 +629,7 @@ void SrsHttpServeMux::hijack(ISrsHttpMatchHijacker* h)
void SrsHttpServeMux::unhijack(ISrsHttpMatchHijacker* h)
{
std::vector<ISrsHttpMatchHijacker*>::iterator it = ::find(hijackers.begin(), hijackers.end(), h);
std::vector<ISrsHttpMatchHijacker*>::iterator it = std::find(hijackers.begin(), hijackers.end(), h);
if (it == hijackers.end()) {
return;
}