From 9b610fe951366b35c4908cd0f8d42fa39fd436a4 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Wed, 10 Jul 2024 09:01:47 +0200 Subject: [PATCH] Put variable definition before use. Though it's technically possible to do it the other way around because of the constexpr, it doesn't make much 'aestetic' sense. done as part of CURA-12017 --- include/GCodePathConfig.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/GCodePathConfig.h b/include/GCodePathConfig.h index 4531b650aa..82a2ea78dd 100644 --- a/include/GCodePathConfig.h +++ b/include/GCodePathConfig.h @@ -18,6 +18,8 @@ namespace cura */ struct GCodePathConfig { + static constexpr double FAN_SPEED_DEFAULT = -1.0; + coord_t z_offset{}; //(const GCodePathConfig& other) const = default;