mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 17:43:11 -04:00
- Update to 2.3.3 - Change the dependency from devel/tbb to devel/onetbb ChangeLog: https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.3.3 PR: 258483 Submitted by: Steve Wills <swills@FreeBSD.org> Reported by: teodorsigaev@gmail.com (tested), eborisch+FreeBSD@gmail.com (tested)
23 lines
891 B
C++
23 lines
891 B
C++
--- src/slic3r/GUI/RemovableDriveManager.hpp.orig 2021-07-16 10:14:03 UTC
|
|
+++ src/slic3r/GUI/RemovableDriveManager.hpp
|
|
@@ -5,7 +5,7 @@
|
|
#include <string>
|
|
|
|
#include <boost/thread.hpp>
|
|
-#include <tbb/mutex.h>
|
|
+#include <mutex>
|
|
#include <condition_variable>
|
|
|
|
// Custom wxWidget events
|
|
@@ -111,9 +111,9 @@ class RemovableDriveManager (private)
|
|
// m_current_drives is guarded by m_drives_mutex
|
|
// sorted ascending by path
|
|
std::vector<DriveData> m_current_drives;
|
|
- mutable tbb::mutex m_drives_mutex;
|
|
+ mutable std::mutex m_drives_mutex;
|
|
// Locking the update() function to avoid that the function is executed multiple times.
|
|
- mutable tbb::mutex m_inside_update_mutex;
|
|
+ mutable std::mutex m_inside_update_mutex;
|
|
|
|
// Returns drive path (same as path in DriveData) if exists otherwise empty string.
|
|
std::string get_removable_drive_from_path(const std::string& path);
|