diff options
| author | 2022-04-30 14:47:39 +0100 | |
|---|---|---|
| committer | 2022-04-30 14:47:39 +0100 | |
| commit | 0e7883dd962f16bbac1dd0b4b6a33de3c19ceca1 (patch) | |
| tree | 920e48fe77edffaa8fa6143ac921e5f08daf2eeb /include/ctables.h | |
| parent | Make the extban enums 8-bit. (diff) | |
Format enums with an underlying type like classes.
Diffstat (limited to 'include/ctables.h')
| -rw-r--r-- | include/ctables.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ctables.h b/include/ctables.h index d29360e94..63dc2c36c 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -27,7 +27,8 @@ #pragma once /** Used to indicate the type of a command. */ -enum class CmdAccess : uint8_t +enum class CmdAccess + : uint8_t { /* The command has no special attributes. */ NORMAL = 0, @@ -40,7 +41,8 @@ enum class CmdAccess : uint8_t }; /** Used to indicate the result of trying to execute a command. */ -enum class CmdResult : uint8_t +enum class CmdResult + : uint8_t { /** The command exists and its execution succeeded. */ SUCCESS = 0, |
