vendor/tomotopy/src/Labeling/FoRelevance.h in tomoto-0.1.4 vs vendor/tomotopy/src/Labeling/FoRelevance.h in tomoto-0.2.0
- old
+ new
@@ -91,11 +91,11 @@
smoothing{ _smoothing }, lambda{ _lambda }, mu{ _mu }, windowSize{ _windowSize }
{
if (!numWorkers) numWorkers = std::thread::hardware_concurrency();
if (numWorkers > 1)
{
- pool = make_unique<ThreadPool>(numWorkers);
- mtx = make_unique<std::mutex[]>(numWorkers);
+ pool = std::make_unique<ThreadPool>(numWorkers);
+ mtx = std::make_unique<std::mutex[]>(numWorkers);
}
for (; candFirst != candEnd; ++candFirst)
{
candidates.emplace_back(*candFirst);