Codechange: Use std::swap() instead of Swap() (#13883)

This commit is contained in:
Peter Nelson
2025-03-24 23:47:34 +00:00
committed by GitHub
parent 8a53ccf8f1
commit 79ef4e98fe
17 changed files with 37 additions and 50 deletions
+1 -1
View File
@@ -834,7 +834,7 @@ static void GenerateTerrain(int type, uint flag)
uint w = templ->width;
uint h = templ->height;
if (DiagDirToAxis(direction) == AXIS_Y) Swap(w, h);
if (DiagDirToAxis(direction) == AXIS_Y) std::swap(w, h);
const uint8_t *p = templ->data;