Skip to content

Rename functions to avoid shadowing default c++ constructor for structs - #147

Merged
spaskalev merged 3 commits into
mainfrom
rename_shadow_default_ctor
Sep 26, 2025
Merged

spaskalev merged 3 commits into
mainfrom
rename_shadow_default_ctor

Conversation

@spaskalev

Copy link
Copy Markdown
Owner

When the allocator is used in strict c++ there are warning that these functions were shadowing the default constructors for the same-named structs. Rename the functions to eliminate the warnings. Luckily C has no such issues :)

@spaskalev
spaskalev merged commit 09e1c03 into main Sep 26, 2025
6 checks passed
@spaskalev
spaskalev deleted the rename_shadow_default_ctor branch September 26, 2025 19:32
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