Skip to content

Fix -Wshadow warning in fix_int's constructor - #1189

Merged
redboltz merged 1 commit into
msgpack:cpp_masterfrom
kkaefer:fix-int-shadow
Oct 6, 2026
Merged

redboltz merged 1 commit into
msgpack:cpp_masterfrom
kkaefer:fix-int-shadow

Conversation

@kkaefer

@kkaefer kkaefer commented Oct 5, 2026

Copy link
Copy Markdown

The constructor parameter shadowed the member of the same name, which GCC reports with -Wshadow in every file that includes msgpack.hpp.

The constructor parameter shadowed the member of the same name, which GCC
reports with -Wshadow in every file that includes <msgpack.hpp>.
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.81%. Comparing base (39cc081) to head (e91f90d).
⚠️ Report is 22 commits behind head on cpp_master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@              Coverage Diff               @@
##           cpp_master    #1189      +/-   ##
==============================================
- Coverage       85.36%   79.81%   -5.56%     
==============================================
  Files              80       80              
  Lines            5099     5790     +691     
  Branches          507      629     +122     
==============================================
+ Hits             4353     4621     +268     
- Misses            746     1169     +423     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@redboltz

redboltz commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

@kkaefer , Thank you for sending the PR. It looks good to me.

@redboltz
redboltz merged commit 1129628 into msgpack:cpp_master Oct 6, 2026
25 checks passed
@kkaefer
kkaefer deleted the fix-int-shadow branch October 6, 2026 08:19
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.

3 participants