We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cdee61d + 18c1264 commit f78bab3Copy full SHA for f78bab3
1 file changed
src/geode/model/helpers/ray_tracing.cpp
@@ -23,7 +23,7 @@
23
24
#include <geode/model/helpers/ray_tracing.hpp>
25
26
-#include <absl/synchronization/mutex.h>
+#include <mutex>
27
28
#include <geode/basic/pimpl_impl.hpp>
29
@@ -300,7 +300,7 @@ namespace geode
300
private:
301
const AABBTree3D& surface_aabb( const Surface3D& surface )
302
{
303
- absl::MutexLock lock{ mutex_ };
+ std::lock_guard lock{ mutex_ };
304
305
const auto it = aabb_trees_.find( surface.id() );
306
if( it != aabb_trees_.end() )
@@ -317,7 +317,7 @@ namespace geode
317
318
const BRep& brep_;
319
absl::flat_hash_map< uuid, std::unique_ptr< AABBTree3D > > aabb_trees_;
320
- absl::Mutex mutex_;
+ std::mutex mutex_;
321
};
322
323
BRepRayTracing::BRepRayTracing( const BRep& brep ) : impl_{ brep } {}
0 commit comments