From e491845bd222bc2433bb8675bc4ab6666571f0b5 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Wed, 11 Oct 2023 18:08:42 +0200 Subject: [PATCH] Removed `constexpr` Tag isn't constexpr Contributes to CURA-10561 --- include/dulcificum/command_types.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/dulcificum/command_types.h b/include/dulcificum/command_types.h index 0f0f3c4..d83776d 100644 --- a/include/dulcificum/command_types.h +++ b/include/dulcificum/command_types.h @@ -51,7 +51,7 @@ struct Command { Command() = delete; - constexpr explicit Command(CommandType type) noexcept + explicit Command(CommandType type) noexcept : type{ type } { } @@ -75,7 +75,7 @@ struct Comment : public Command struct Move : public Command { - constexpr Move() noexcept + Move() noexcept : Command(CommandType::kMove) { } @@ -87,7 +87,7 @@ struct Move : public Command struct FanDuty : public Command { - constexpr FanDuty() noexcept + FanDuty() noexcept : Command(CommandType::kActiveFanDuty) { } @@ -98,7 +98,7 @@ struct FanDuty : public Command struct FanToggle : public Command { - constexpr FanToggle() noexcept + FanToggle() noexcept : Command(CommandType::kActiveFanEnable) { } @@ -109,7 +109,7 @@ struct FanToggle : public Command struct SetTemperature : public Command { - constexpr SetTemperature() noexcept + SetTemperature() noexcept : Command(CommandType::kSetTemperature) { } @@ -120,7 +120,7 @@ struct SetTemperature : public Command struct WaitForTemperature : public Command { - constexpr WaitForTemperature() noexcept + WaitForTemperature() noexcept : Command(CommandType::kWaitForTemperature) { } @@ -130,7 +130,7 @@ struct WaitForTemperature : public Command struct ChangeTool : public Command { - constexpr ChangeTool() noexcept + ChangeTool() noexcept : Command(CommandType::kChangeTool) { } @@ -141,7 +141,7 @@ struct ChangeTool : public Command struct Delay : public Command { - constexpr Delay() noexcept + Delay() noexcept : Command(CommandType::kDelay) { }