mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-20 22:18:30 +00:00
Remove Unused Project Includes From Files With Platform-Specific Code
A Linux include-what-you-use run cannot see the code inside _WIN32, __APPLE__ or __linux__ blocks, so its verdict is only taken where nothing the removed header declares, directly or through what it includes, is named inside those blocks. Removals also have to hold in both the Release and Debug configuration and never touch a line inside a conditional block.
This commit is contained in:
1 parent
0a30cfe6b0
commit
bf43b9ea7b
98 files changed
+114
-211
No files matched your search
@@ -19,7 +19,6 @@
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/panel.h>
|
||||
#include "slic3r/GUI/PresetComboBoxes.hpp"
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
#include "slic3r/GUI/wxExtensions.hpp"
|
||||
#include <wx/anybutton.h>
|
||||
#include "slic3r/GUI/Widgets/HyperLink.hpp"
|
||||
@@ -31,6 +30,8 @@
|
||||
#include <memory>
|
||||
#include <wx/scrolwin.h>
|
||||
|
||||
namespace Slic3r { class DynamicPrintConfig; }
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
||||
wxDEFINE_EVENT(EVT_CALI_ACTION, wxCommandEvent);
|
||||
|
||||
Reference in new issue
Block a user