Fix compilation with apple clang.
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 2m17s

Provide the template parameter for std::min<> explicitly. :)
This commit is contained in:
hashlag
2026-03-22 23:53:33 +03:00
parent 797a5428cc
commit 6998d81e98

View File

@@ -67,7 +67,7 @@ private:
while (count > 0) while (count > 0)
{ {
uint64_t keyMaterialBytes = std::min(keyBuf.Size(), count); uint64_t keyMaterialBytes = std::min<uint64_t>(keyBuf.Size(), count);
Gen_.Generate(keyBuf.Begin(), keyMaterialBytes); Gen_.Generate(keyBuf.Begin(), keyMaterialBytes);
for (auto keyBufIt = keyBuf.Begin(); for (auto keyBufIt = keyBuf.Begin();