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

Avoid naming array in CAMP_EXPAND #119

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

MrBurmark
Copy link
Member

@MrBurmark MrBurmark commented Oct 6, 2022

Avoid naming array in CAMP_EXPAND so it is more compatible with existing code. This should avoid causing errors is EXPAND is used multiple times in the same scope.
@mcfadden8 found that the previous change broke umpire as umpire passed the result to a sink like function to quiet the warning. This change will still break umpire as sink returns void, but its fixed here LLNL/Umpire#786 (review).

Pass directly to sink, do not give a name
@MrBurmark MrBurmark requested a review from trws October 6, 2022 19:02
@trws
Copy link
Member

trws commented Oct 6, 2022

I cannot wait to be able to make this macro use C++17, thanks again @MrBurmark.

@trws trws merged commit 2968041 into LLNL:main Oct 6, 2022
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