fix no-thread

This commit is contained in:
Sébastien Loriot 2020-04-22 16:51:35 +02:00
parent 76aeb96682
commit 0c98cd8eee
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -187,7 +187,7 @@ public:
#ifdef CGAL_HAS_THREADS
delete atomic_tree_ptr.load();
#else
delete tree_ptr.get();
delete tree_ptr;
#endif
}