mirror of https://github.com/CGAL/cgal
fix no-thread
This commit is contained in:
parent
76aeb96682
commit
0c98cd8eee
|
|
@ -603,7 +603,7 @@ public:
|
|||
std::atomic<bool> m_atomic_search_tree_constructed;
|
||||
#else
|
||||
bool m_need_build = false;
|
||||
bool m_search_tree_constructed = false;
|
||||
mutable bool m_search_tree_constructed = false;
|
||||
#endif
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ public:
|
|||
#ifdef CGAL_HAS_THREADS
|
||||
delete atomic_tree_ptr.load();
|
||||
#else
|
||||
delete tree_ptr.get();
|
||||
delete tree_ptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue