mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-16 23:07:49 +08:00
修复编译警告
This commit is contained in:
parent
427bb56507
commit
ca0f122938
@ -59,7 +59,7 @@ void OnvifSearcher::sendSearchBroadcast(std::string subnet_prefix, onDevice cb,
|
|||||||
_poller->async([weak_self, cb, timeout_ms, subnet_prefix]() mutable {
|
_poller->async([weak_self, cb, timeout_ms, subnet_prefix]() mutable {
|
||||||
auto strong_self = weak_self.lock();
|
auto strong_self = weak_self.lock();
|
||||||
if (strong_self) {
|
if (strong_self) {
|
||||||
strong_self->sendSearchBroadcast_l(move(subnet_prefix), std::move(cb), timeout_ms);
|
strong_self->sendSearchBroadcast_l(std::move(subnet_prefix), std::move(cb), timeout_ms);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user