Create CeedOperatorFieldGet*Read
routines with const
parameters
#1639
Labels
CeedOperatorFieldGet*Read
routines with const
parameters
#1639
I think on the existing
CeedOperatorFieldGet*
probably aren't appropriate for "normal" uses by end-users; Those objects shouldn't be editable (or at least Destroyable), but the lack of aconst
qualifier on the parameters means you can. See HONEE MR for example of accidentally Destroying something gotten fromCeedOperatorFieldGet*
.Adding
const
qualifiers would break existing code unfortunately, so assuming that's a non-starter, maybe we could implement "read" versions of the Getters?i.e.:
The text was updated successfully, but these errors were encountered: