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;
|
std::atomic<bool> m_atomic_search_tree_constructed;
|
||||||
#else
|
#else
|
||||||
bool m_need_build = false;
|
bool m_need_build = false;
|
||||||
bool m_search_tree_constructed = false;
|
mutable bool m_search_tree_constructed = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,7 @@ public:
|
||||||
#ifdef CGAL_HAS_THREADS
|
#ifdef CGAL_HAS_THREADS
|
||||||
delete atomic_tree_ptr.load();
|
delete atomic_tree_ptr.load();
|
||||||
#else
|
#else
|
||||||
delete tree_ptr.get();
|
delete tree_ptr;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue