mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
fix: fixed macOS build
This commit is contained in:
parent
1e3f56617a
commit
2eefe1545d
@ -1 +1 @@
|
||||
5721
|
||||
5723
|
||||
|
@ -34,7 +34,9 @@ namespace Qv2ray::components::latency
|
||||
for (auto i = 0; i < count; i++)
|
||||
{
|
||||
resultData.totalCount++;
|
||||
const auto [_latency, errMessage] = pingHelper.ping(host);
|
||||
const auto value = pingHelper.ping(host);
|
||||
const auto _latency = value.first;
|
||||
const auto errMessage = value.second;
|
||||
if (!errMessage.isEmpty())
|
||||
{
|
||||
resultData.errorMessage.append(NEWLINE + errMessage);
|
||||
|
Loading…
Reference in New Issue
Block a user