Closed dowens-pp closed 2 years ago
@Naios
rename 'allocator' --> '_allocator' to prevent shadowing gcc declaration.
Addresses item #2 in https://github.com/Naios/function2/issues/30
renames 'allocator' to '_allocator' to avoid redeclaration warning
x
[ ]
no functional changes, only warning elimination when using gcc.
Thank you for your contribution.
I renamed the allocators to allocator_, leading underscore is usually a compiler reserved identifier: https://stackoverflow.com/a/228797/2303378
allocator_
@Naios
rename 'allocator' --> '_allocator' to prevent shadowing gcc declaration.
What was a problem?
Addresses item #2 in https://github.com/Naios/function2/issues/30
How this PR fixes the problem?
renames 'allocator' to '_allocator' to avoid redeclaration warning
Check lists (check
x
in[ ]
of list items)Additional Comments (if any)
no functional changes, only warning elimination when using gcc.