Fix build for old Qt version.
This commit is contained in:
parent
d02617867c
commit
c0f8ab8da0
|
@ -148,8 +148,9 @@ std::atomic<int> GlobalAtomicRequestId = 0;
|
||||||
&& (code != '-');
|
&& (code != '-');
|
||||||
};
|
};
|
||||||
const auto inner = Base64UrlInner(password);
|
const auto inner = Base64UrlInner(password);
|
||||||
const auto i = std::find_if(inner.begin(), inner.end(), bad);
|
const auto begin = inner.data();
|
||||||
return (i == inner.end());
|
const auto end = begin + inner.size();
|
||||||
|
return (std::find_if(begin, end, bad) == end);
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] ProxyData::Status Base64UrlMtprotoPasswordStatus(
|
[[nodiscard]] ProxyData::Status Base64UrlMtprotoPasswordStatus(
|
||||||
|
|
Loading…
Reference in New Issue