Skip to content

Remove faulty reinterpret_cast - #286

Merged
klemens-morgenstern merged 1 commit into
boostorg:developfrom
Flamefire:patch-1
Sep 24, 2026
Merged

klemens-morgenstern merged 1 commit into
boostorg:developfrom
Flamefire:patch-1

Conversation

@Flamefire

Copy link
Copy Markdown
Contributor

This wrongly casts a const uintptr_t to uintptr_t which "is a valid standard conversion, which can be performed implicitly or by use of static_cast, C-style cast or function-style cast" (MSVC error C2440)

In fact no cast is required at that point, just remove it

Fix for regression introduced in c7b8d0e

This wrongly casts a `const uintptr_t` to `uintptr_t` which "is a valid standard conversion, which can be performed implicitly or by use of static_cast, C-style cast or function-style cast" (MSVC error C2440)

In fact no cast is required at that point, just remove it
@klemens-morgenstern
klemens-morgenstern merged commit 4618e36 into boostorg:develop Sep 24, 2026
15 of 24 checks passed
@Flamefire
Flamefire deleted the patch-1 branch September 24, 2026 06:59
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.

2 participants