aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-30 14:47:39 +0100
committerGravatar Sadie Powell2022-04-30 14:47:39 +0100
commit0e7883dd962f16bbac1dd0b4b6a33de3c19ceca1 (patch)
tree920e48fe77edffaa8fa6143ac921e5f08daf2eeb /include/modules
parentMake the extban enums 8-bit. (diff)
downloadinspircd++-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.h3
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,