Skip to content

Commit

Permalink
revert uint8_t enum
Browse files Browse the repository at this point in the history
Should fix the `error: use of enum ‘CommandType’ without previous declaration`

Contributes to CURA-10561
  • Loading branch information
jellespijker committed Oct 11, 2023
1 parent d54acd0 commit e7167e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/dulcificum/command_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ using ParamPoint = std::array<double, 5>;
namespace botcmd
{

enum CommandType : std::uint8_t
enum class CommandType
{
kInvalid,
kMove, // most commands are move commands
Expand All @@ -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,
Expand Down

0 comments on commit e7167e7

Please sign in to comment.