libslic3r: include tbb/spin_mutex to fix compilation error (#7505)
PrintObject.cpp references tbb::spin_mutex, thus it needs to include tbb/spin_mutex. Otherwise compilation fails with: error: ‘spin_mutex’ is not a member of ‘tbb’ Supersedes #7057
This commit is contained in:
parent
508d0e6334
commit
16e532f73e
3 changed files with 1 additions and 14 deletions
|
@ -304,8 +304,6 @@ modules:
|
||||||
# OrcaSlicer Source Archive
|
# OrcaSlicer Source Archive
|
||||||
- type: dir
|
- type: dir
|
||||||
path: ../
|
path: ../
|
||||||
- type: patch
|
|
||||||
path: patches/libslic3r_missing_include.patch
|
|
||||||
|
|
||||||
# AppData metainfo for Gnome Software & Co.
|
# AppData metainfo for Gnome Software & Co.
|
||||||
- type: file
|
- type: file
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp
|
|
||||||
index 528a72e70..1530fe655 100644
|
|
||||||
--- a/src/libslic3r/PrintObject.cpp
|
|
||||||
+++ b/src/libslic3r/PrintObject.cpp
|
|
||||||
@@ -31,6 +31,7 @@
|
|
||||||
#include <boost/log/trivial.hpp>
|
|
||||||
|
|
||||||
#include <tbb/parallel_for.h>
|
|
||||||
+#include <tbb/spin_mutex.h>
|
|
||||||
|
|
||||||
#include <Shiny/Shiny.h>
|
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include <boost/log/trivial.hpp>
|
#include <boost/log/trivial.hpp>
|
||||||
|
|
||||||
#include <tbb/parallel_for.h>
|
#include <tbb/parallel_for.h>
|
||||||
|
#include <tbb/spin_mutex.h>
|
||||||
|
|
||||||
#include <Shiny/Shiny.h>
|
#include <Shiny/Shiny.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue