Skip to content

ParmParse cpp no const#4769

Merged
WeiqunZhang merged 1 commit intoAMReX-Codes:developmentfrom
ax3l:fix-parmparse-cpp-const
Nov 7, 2025
Merged

ParmParse cpp no const#4769
WeiqunZhang merged 1 commit intoAMReX-Codes:developmentfrom
ax3l:fix-parmparse-cpp-const

Conversation

@ax3l
Copy link
Copy Markdown
Member

@ax3l ax3l commented Nov 7, 2025

Summary

Already in the header file: do not use const
for fundamental types.

Additional background

Not strictly needed and legal C++, just slightly inconsistent.

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

Already in the header file: do not use const
for fundamental types.
@ax3l ax3l requested a review from WeiqunZhang November 7, 2025 18:44
@ax3l ax3l added the cleaning label Nov 7, 2025
@WeiqunZhang WeiqunZhang merged commit e727197 into AMReX-Codes:development Nov 7, 2025
72 of 73 checks passed
@ax3l ax3l deleted the fix-parmparse-cpp-const branch November 7, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants