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

Provide the template parameter for std::min<> explicitly. :)
This commit is contained in:
hashlag
2026-03-22 23:53:33 +03:00
parent 0647a7c3dc
commit 4df35b5256

View File

@@ -67,7 +67,7 @@ private:
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);
for (auto keyBufIt = keyBuf.Begin();