[Chapel Merge] dyno: Remove meaningless const qualifier for enum

Branch: refs/heads/main
Revision: a755e29
Author: dlongnecke-cray
Link: dyno: Remove meaningless const qualifier for enum return type by dlongnecke-cray · Pull Request #19287 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19287 from dlongnecke-cray/dyno-fix-icc-error-const-enum

dyno: Remove meaningless const qualifier for enum return type

In my recent work on the ErrorMessage class I mindlessly specified
const Kind, where Kind is an enum type (and thus the const
qualifier is meaningless). Some compiler configurations treat this
warning as an error, so remove the const.

Signed-off-by: David Longnecker dlongnecke-cray@users.noreply.github.com

Modified Files:
M compiler/dyno/include/chpl/queries/ErrorMessage.h

Compare: https://github.com/chapel-lang/chapel/compare/9f945e586307...a755e291605d