diff options
| author | 2022-04-30 14:47:39 +0100 | |
|---|---|---|
| committer | 2022-04-30 14:47:39 +0100 | |
| commit | 0e7883dd962f16bbac1dd0b4b6a33de3c19ceca1 (patch) | |
| tree | 920e48fe77edffaa8fa6143ac921e5f08daf2eeb /include/modules | |
| parent | Make the extban enums 8-bit. (diff) | |
| download | inspircd++-0e7883dd962f16bbac1dd0b4b6a33de3c19ceca1.tar.gz inspircd++-0e7883dd962f16bbac1dd0b4b6a33de3c19ceca1.tar.bz2 inspircd++-0e7883dd962f16bbac1dd0b4b6a33de3c19ceca1.zip | |
Format enums with an underlying type like classes.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/regex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules/regex.h b/include/modules/regex.h index 2fc0b2b4a..acb14e480 100644 --- a/include/modules/regex.h +++ b/include/modules/regex.h @@ -37,7 +37,8 @@ namespace Regex typedef std::shared_ptr<Pattern> PatternPtr; /** The options to use when matching a pattern. */ - enum PatternOptions : uint8_t + enum PatternOptions + : uint8_t { /** No special matching options apply. */ OPT_NONE = 0, |
