mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
Fixing some compiler warnings.
This commit is contained in:
parent
e4e8c5df12
commit
211110ce53
2 changed files with 5 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "Platform.hpp"
|
||||
#include "Time.hpp"
|
||||
#include "libslic3r.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
|
@ -128,6 +129,7 @@ void disable_multi_threading()
|
|||
tbb::global_control(tbb::global_control::max_allowed_parallelism, 1);
|
||||
#else // TBB_HAS_GLOBAL_CONTROL
|
||||
static tbb::task_scheduler_init *tbb_init = new tbb::task_scheduler_init(1);
|
||||
UNUSED(tbb_init);
|
||||
#endif // TBB_HAS_GLOBAL_CONTROL
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue