Skip to content

Commit

Permalink
Revert "Removed constexpr"
Browse files Browse the repository at this point in the history
This reverts commit e491845.
  • Loading branch information
jellespijker committed Oct 11, 2023
1 parent e491845 commit 4f6d7e7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/dulcificum/command_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct Command
{
Command() = delete;

explicit Command(CommandType type) noexcept
constexpr explicit Command(CommandType type) noexcept
: type{ type }
{
}
Expand All @@ -75,7 +75,7 @@ struct Comment : public Command

struct Move : public Command
{
Move() noexcept
constexpr Move() noexcept
: Command(CommandType::kMove)
{
}
Expand All @@ -87,7 +87,7 @@ struct Move : public Command

struct FanDuty : public Command
{
FanDuty() noexcept
constexpr FanDuty() noexcept
: Command(CommandType::kActiveFanDuty)
{
}
Expand All @@ -98,7 +98,7 @@ struct FanDuty : public Command

struct FanToggle : public Command
{
FanToggle() noexcept
constexpr FanToggle() noexcept
: Command(CommandType::kActiveFanEnable)
{
}
Expand All @@ -109,7 +109,7 @@ struct FanToggle : public Command

struct SetTemperature : public Command
{
SetTemperature() noexcept
constexpr SetTemperature() noexcept
: Command(CommandType::kSetTemperature)
{
}
Expand All @@ -120,7 +120,7 @@ struct SetTemperature : public Command

struct WaitForTemperature : public Command
{
WaitForTemperature() noexcept
constexpr WaitForTemperature() noexcept
: Command(CommandType::kWaitForTemperature)
{
}
Expand All @@ -130,7 +130,7 @@ struct WaitForTemperature : public Command

struct ChangeTool : public Command
{
ChangeTool() noexcept
constexpr ChangeTool() noexcept
: Command(CommandType::kChangeTool)
{
}
Expand All @@ -141,7 +141,7 @@ struct ChangeTool : public Command

struct Delay : public Command
{
Delay() noexcept
constexpr Delay() noexcept
: Command(CommandType::kDelay)
{
}
Expand Down

0 comments on commit 4f6d7e7

Please sign in to comment.