From 7ed4095b20666ad1f6bffe1fd1ddf0ab27e6d9d1 Mon Sep 17 00:00:00 2001 From: Ian Chua Date: Thu, 15 Oct 2026 16:06:50 +0800 Subject: [PATCH] fix: clang-tidy --- src/slic3r/Utils/MoonrakerPrinterAgent.cpp | 1 + tests/slic3rutils/test_dev_extder_system.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/slic3r/Utils/MoonrakerPrinterAgent.cpp b/src/slic3r/Utils/MoonrakerPrinterAgent.cpp index caa4fef389..ebd2378987 100644 --- a/src/slic3r/Utils/MoonrakerPrinterAgent.cpp +++ b/src/slic3r/Utils/MoonrakerPrinterAgent.cpp @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/slic3rutils/test_dev_extder_system.cpp b/tests/slic3rutils/test_dev_extder_system.cpp index e78dc36a90..c82dd8ffd9 100644 --- a/tests/slic3rutils/test_dev_extder_system.cpp +++ b/tests/slic3rutils/test_dev_extder_system.cpp @@ -3,6 +3,9 @@ // makes std::byte a competing candidate (otherwise the Windows COM headers pulled in via // DeviceManager.hpp error with an ambiguous `byte`). wx/timer.h must precede DeviceManager.hpp, // which includes DeviceErrorDialog.hpp (uses wxTimerEvent) before its own wx/timer.h include. +#include "catch2/catch_test_macros.hpp" +#include "catch2/catch_message.hpp" +#include #include #include #include