Skip to content

fix(airlib): protect MultirotorApiBase std::max from Windows macros - #9817

Open
Bartok (Bartok9) wants to merge 1 commit into
microsoft:mainfrom
Bartok9:aerial/2026-07-26-multirotor-stdmax
Open

Bartok (Bartok9) wants to merge 1 commit into
microsoft:mainfrom
Bartok9:aerial/2026-07-26-multirotor-stdmax

Conversation

@Bartok9

Copy link
Copy Markdown

Use (std::max) in getAutoLookahead so Windows min/max macros cannot break the call (same pattern as SafetyEval).

AI-assisted; human-reviewed.

Claim: bartok
Operator: bartok
Campaign: aerial-drone

Same (std::max) form as SafetyEval so NOMINMAX-less Windows builds compile.
@Bartok9
Bartok (Bartok9) force-pushed the aerial/2026-07-26-multirotor-stdmax branch from a85b987 to c0d8918 Compare October 25, 2026 21:27

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant