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/ctables.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/ctables.h') 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, -- cgit v1.3.1-10-gc9f91