From e7167e7edcb03ea3b0e3c2d984665572d11864ee Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Wed, 11 Oct 2023 18:00:44 +0200 Subject: [PATCH] revert uint8_t enum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Should fix the `error: use of enum ‘CommandType’ without previous declaration` Contributes to CURA-10561 --- include/dulcificum/command_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dulcificum/command_types.h b/include/dulcificum/command_types.h index fdd7b76..0f0f3c4 100644 --- a/include/dulcificum/command_types.h +++ b/include/dulcificum/command_types.h @@ -16,7 +16,7 @@ using ParamPoint = std::array; namespace botcmd { -enum CommandType : std::uint8_t +enum class CommandType { kInvalid, kMove, // most commands are move commands @@ -30,7 +30,7 @@ enum CommandType : std::uint8_t kPause, // Command to allow for user defined pause. }; -enum Tag : std::uint8_t +enum class Tag { Invalid, Infill,