Closed ahnolds closed 4 years ago
Right now allowedHours/setAllowedHours take a plain unsigned char pointer. The allowedHours array is never modified, so it would be beneficial to have it be const so that a caller can pass in a const array without having to cast away the const.
Thanks. I'm sure we have a ton of variables that could be made constants or use smaller data types than what they currently use.
Right now allowedHours/setAllowedHours take a plain unsigned char pointer. The allowedHours array is never modified, so it would be beneficial to have it be const so that a caller can pass in a const array without having to cast away the const.