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

clang-tidy: C array to std::array conversions #2154

Merged
merged 1 commit into from
Mar 18, 2022
Merged

clang-tidy: C array to std::array conversions #2154

merged 1 commit into from
Mar 18, 2022

Conversation

neheb
Copy link
Collaborator

@neheb neheb commented Mar 18, 2022

Signed-off-by: Rosen Penev [email protected]

@neheb
Copy link
Collaborator Author

neheb commented Mar 18, 2022

Funny. This exposed bugs.

@codecov
Copy link

codecov bot commented Mar 18, 2022

Codecov Report

Merging #2154 (3ee5561) into main (8a37d6a) will increase coverage by 0.00%.
The diff coverage is 31.57%.

@@           Coverage Diff           @@
##             main    #2154   +/-   ##
=======================================
  Coverage   62.65%   62.65%           
=======================================
  Files          97       97           
  Lines       19722    19721    -1     
  Branches     9710     9710           
=======================================
  Hits        12357    12357           
+ Misses       5133     5132    -1     
  Partials     2232     2232           
Impacted Files Coverage Δ
src/datasets.cpp 93.03% <ø> (ø)
src/epsimage.cpp 1.73% <0.00%> (+<0.01%) ⬆️
src/exif.cpp 65.91% <0.00%> (ø)
src/orfimage.cpp 41.17% <ø> (ø)
src/olympusmn_int.cpp 37.32% <50.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8a37d6a...3ee5561. Read the comment docs.

Copy link
Collaborator

@piponazo piponazo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

for (auto&& filteredIfd : filteredIfds) {
#ifdef EXIV2_DEBUG_MESSAGES
std::cerr << "Warning: Exif IFD " << filteredIfds << " not encoded\n";
std::cerr << "Warning: Exif IFD " << filteredIfd << " not encoded\n";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LoL, I wonder what was happening here before 🙉

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably same thing since there's only one member.

@piponazo piponazo merged commit 5d5354e into Exiv2:main Mar 18, 2022
@neheb neheb deleted the 1 branch March 18, 2022 18:57
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