Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename 'small' and 'large' to avoid clash with a Microsoft macro. #62

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

paulhuggett
Copy link
Owner

These two constants should have been named simply "small" and "large". However, Microsoft's rpcndr.h unconditionally defines a macro named "small".

Since they represent the index values of the small_type and large_type containers respectively , and they're a scoped enum class, I went with the rather wordy reuse of those names instead.

These two constants should have been named simply "small" and
"large". However, Microsoft's rpcndr.h unconditionally defines a macro
named "small".

Since they represent the index values of the small_type and large_type
containers respectively , and they're a scoped enum class, I went with
the rather wordy reuse of those names instead.
Copy link

codecov bot commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5c52e7b) 91.66% compared to head (fac9507) 91.67%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #62      +/-   ##
==========================================
+ Coverage   91.66%   91.67%   +0.01%     
==========================================
  Files          15       15              
  Lines        2543     2547       +4     
==========================================
+ Hits         2331     2335       +4     
  Misses        212      212              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@paulhuggett paulhuggett marked this pull request as ready for review December 29, 2023 08:45
@paulhuggett paulhuggett merged commit c0f15da into main Dec 29, 2023
36 checks passed
@paulhuggett paulhuggett deleted the rename_small branch December 29, 2023 08:45
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