mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Try to fix compilation error about the new threads default
This commit is contained in:
committed by
bubnikv
parent
9e8dae817d
commit
d8082b9db4
@@ -1293,7 +1293,7 @@ PrintConfigDef::PrintConfigDef()
|
||||
def->min = 1;
|
||||
def->max = 16;
|
||||
{
|
||||
int threads = boost::thread::hardware_concurrency();
|
||||
unsigned int threads = boost::thread::hardware_concurrency();
|
||||
if (threads == 0) threads = 2;
|
||||
def->default_value = new ConfigOptionInt(threads);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user