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

Fix for #191 #192

Merged
merged 1 commit into from
Jun 29, 2021
Merged

Fix for #191 #192

merged 1 commit into from
Jun 29, 2021

Conversation

amete
Copy link
Collaborator

@amete amete commented Jun 29, 2021

This one is fairly simple. What we currently have seems to trigger an -Werror=range-loop-construct on gcc11 [1]. Now we simply use a reference to avoid copying.

[1] I took gcc11 from source /cvmfs/sft.cern.ch/lcg/views/dev4/latest/x86_64-centos7-gcc11-dbg/setup.sh but we can actually setup a dedicate CI for this.

@amete amete requested a review from graeme-a-stewart June 29, 2021 15:55
Copy link
Member

@graeme-a-stewart graeme-a-stewart left a comment

Choose a reason for hiding this comment

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

Ah yes, good catch from the compiler. Thanks for the fix @amete!

@graeme-a-stewart graeme-a-stewart merged commit c2baf77 into main Jun 29, 2021
@graeme-a-stewart graeme-a-stewart deleted the main-gcc11-updates branch June 29, 2021 18:00
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