forked from mirror/OpenTTD
Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)
This commit is contained in:
@@ -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.
|
||||
};
|
||||
|
Reference in New Issue
Block a user