Codechange: Remove min/max functions in favour of STL variants (#8502)
This commit is contained in:
@@ -226,7 +226,7 @@ void IniLoadFile::LoadFromDisk(const std::string &filename, Subdirectory subdir)
|
||||
uint a = comment_alloc;
|
||||
/* add to comment */
|
||||
if (ns > a) {
|
||||
a = max(a, 128U);
|
||||
a = std::max(a, 128U);
|
||||
do a *= 2; while (a < ns);
|
||||
comment = ReallocT(comment, comment_alloc = a);
|
||||
}
|
||||
|
Reference in New Issue
Block a user