From a0edde01d9edf8eb74d2ca9d4afebf7222d58b75 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 16 Oct 2024 17:25:09 +0200 Subject: [PATCH] slic3r: Fix std::future declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit src/slic3r/GUI/StepMeshDialog.hpp:40:10: error: ‘future’ in namespace ‘std’ does not name a template type 40 | std::future task; | ^~~~~~ src/slic3r/GUI/StepMeshDialog.hpp:8:1: note: ‘std::future’ is defined in header ‘’; did you forget to ‘#include ’? 7 | #include "Widgets/Button.hpp" +++ |+#include 8 | class Button; --- src/slic3r/GUI/StepMeshDialog.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/StepMeshDialog.hpp b/src/slic3r/GUI/StepMeshDialog.hpp index 48bff2adc..df2175d36 100644 --- a/src/slic3r/GUI/StepMeshDialog.hpp +++ b/src/slic3r/GUI/StepMeshDialog.hpp @@ -1,6 +1,7 @@ #ifndef _STEP_MESH_DIALOG_H_ #define _STEP_MESH_DIALOG_H_ +#include #include #include "GUI_Utils.hpp" #include "libslic3r/Format/STEP.hpp" @@ -44,4 +45,4 @@ private: void stop_task(); }; -#endif // _STEP_MESH_DIALOG_H_ \ No newline at end of file +#endif // _STEP_MESH_DIALOG_H_