fix: clang-tidy

This commit is contained in:
Ian Chua
2026-10-06 19:56:53 +08:00
parent 0feb87b417
commit 5bf6db95b3
4 changed files with 5 additions and 0 deletions
@@ -8,6 +8,7 @@
#include <cstdlib>
#include <chrono>
#include <nlohmann/json.hpp>
#include <wx/app.h>
#include <wx/colour.h>
#include <string>
#include <wx/string.h>
+1
View File
@@ -65,6 +65,7 @@
#include <unordered_set>
#include <utility>
#include <vector>
#include <wx/app.h>
#include <wx/colour.h>
#include <tuple>
#include <wx/dir.h>
+1
View File
@@ -19,6 +19,7 @@
#include "RecenterDialog.hpp"
#include "CalibUtils.hpp"
#include <boost/algorithm/string/replace.hpp>
#include <cassert>
#include <cstddef>
#include <ctime>
#include "slic3r/GUI/DeviceManager.hpp"
+2
View File
@@ -3,6 +3,8 @@
// 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 <string>
#include <utility>
#ifdef WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN