Skip to content

Include type_traits header for std::decay - #136

Open
musicinmybrain wants to merge 1 commit into
mapbox:masterfrom
musicinmybrain:type_traits
Open

Include type_traits header for std::decay#136
musicinmybrain wants to merge 1 commit into
mapbox:masterfrom
musicinmybrain:type_traits

Conversation

@musicinmybrain

Copy link
Copy Markdown
Contributor

Don’t rely on indirect/implicit inclusion via other standard-library headers.

using Point = typename std::decay<decltype(coords[0])>::type;

This minor omission was originally pointed out by Copilot in skogler/mapbox_earcut_python#32, although the fix it suggested there was incorrect.

Don’t rely on indirect/implicit inclusion via other standard-library
headers.

This minor omission was originally pointed out by Copilot in
skogler/mapbox_earcut_python#32.
@musicinmybrain
musicinmybrain requested a review from a team as a code owner September 9, 2026 06:42
@ox-security

ox-security Bot commented Sep 9, 2026

Copy link
Copy Markdown

OX Security Logo

OX Security reviewed this pull request — nothing to fix.

No issues found

Branch type_traitsmaster

View scan in OX Security →

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