Commit d783993
committed
fix(airlib): protect SafetyEval std::max from Windows macros
Parenthesize std::max in getDestination breaking-distance clamp so MSVC
windows.h min/max macros cannot break the template call. No algorithm change.
File already #undef max; parenthesize is the portable form used elsewhere.
Signed-off-by: Bartok9 <danielrpike9@gmail.com>1 parent d109f0d commit d783993
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments