Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)

This commit is contained in:
2025-01-28 22:17:34 +00:00
committed by GitHub
parent 6fda85c569
commit afc0745aa2
180 changed files with 371 additions and 367 deletions

View File

@@ -14,7 +14,7 @@
class StringIterator {
public:
/** Type of the iterator. */
enum IterType {
enum IterType : uint8_t {
ITER_CHARACTER, ///< Iterate over characters (or more exactly grapheme clusters).
ITER_WORD, ///< Iterate over words.
};