restrict "std" namespace using .

This commit is contained in:
Zero Fanker 2024-04-25 19:11:06 -04:00
parent fc363aa59d
commit 00753d2ff2
17 changed files with 36 additions and 32 deletions

View file

@ -164,7 +164,7 @@ ProjectedVec TextDrawer::GetExtent(const std::string& text) const
cur.set(0, cur.y + ch + lineOffset);
} else if (c >= 32 && c <= 126) {
cur.x += cw;
maxpos.set(max(maxpos.x, cur.x), max(maxpos.y, cur.y + ch));
maxpos.set(std::max(maxpos.x, cur.x), std::max(maxpos.y, cur.y + ch));
}
}