cmetrics icon indicating copy to clipboard operation
cmetrics copied to clipboard

Add "const" modifier to "char *" parameters that don't modify it

Open tarruda opened this issue 3 years ago • 2 comments

Functions that create/modify metrics don't modify their char * parameters, so it would be good to add const modifier to let the compiler know callers don't expect it to be modified.

tarruda avatar Feb 15 '22 11:02 tarruda