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

Extract code for generating image names to function #1052

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

DanRStevens
Copy link
Collaborator

It makes sense to encapsulate auto image name generation into a function and use a static variable for the counter.

Reference: #528
The old code was flagged by the Clang warning -Wglobal-constructors.

It makes sense to encapsulate auto image name generation into a function
and use a static variable for the counter.
@DanRStevens DanRStevens merged commit 1e230ee into main Aug 26, 2022
@DanRStevens DanRStevens deleted the imageNameFunction branch August 26, 2022 11:12
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