From 0e7883dd962f16bbac1dd0b4b6a33de3c19ceca1 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 30 Apr 2022 14:47:39 +0100 Subject: Format enums with an underlying type like classes. --- include/modules/regex.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/modules') 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 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, -- cgit v1.3.1-10-gc9f91