mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
ReVPK: use Min operator provided by basetypes
Use Min() from basetypes as this is the prefered min operator.
This commit is contained in:
parent
20e212b1ea
commit
f45ca75474
@ -196,7 +196,7 @@ static void ReVPK_Pack(const CCommand& args)
|
||||
CPackedStoreBuilder builder;
|
||||
|
||||
builder.InitLzEncoder(
|
||||
argCount > 7 ? (std::min)(atoi(args.Arg(7)), LZHAM_MAX_HELPER_THREADS) : -1, // Num threads.
|
||||
argCount > 7 ? Min(atoi(args.Arg(7)), LZHAM_MAX_HELPER_THREADS) : -1, // Num threads.
|
||||
argCount > 8 ? args.Arg(8) : "default"); // Compress level.
|
||||
|
||||
builder.PackStore(pair, workspacePath.String(), buildPath.String());
|
||||
|
Loading…
x
Reference in New Issue
Block a user