FIX: Fix missing std::map declaration

/run/build/BambuStudio/src/slic3r/GUI/SkipPartCanvas.cpp: In lambda function:
/run/build/BambuStudio/src/slic3r/GUI/SkipPartCanvas.cpp:55:14: error: ‘map’ is not a member of ‘std’
   55 |         std::map<cv::Vec3b, int, std::function<bool(const cv::Vec3b &, const cv::Vec3b &)>> colorCount(
      |              ^~~
/run/build/BambuStudio/src/slic3r/GUI/SkipPartCanvas.cpp:13:1: note: ‘std::map’ is defined in header ‘<map>’; this is probably fixable by adding ‘#include <map>’
   12 | #include <filesystem>
  +++ |+#include <map>
   13 |

(cherry picked from commit b9402b5be60188e8867471b64c3bc1d8c1d6bfa7)
This commit is contained in:
Bastien Nocera
2025-07-18 12:01:55 +02:00
committed by Noisyfox
parent 13d92131e7
commit 2048f57cda

View File

@@ -11,6 +11,7 @@
#include <earcut/earcut.hpp>
#include <libslic3r/Color.hpp>
#include <filesystem>
#include <map>
wxDEFINE_EVENT(EVT_ZOOM_PERCENT, wxCommandEvent);
wxDEFINE_EVENT(EVT_CANVAS_PART, wxCommandEvent);