Fix compilation with apple clang.
All checks were successful
Chaos Ci / test-and-benchmark (push) Successful in 3m44s
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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user