diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2018-09-05 12:52:26 +0200 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2018-09-05 12:52:26 +0200 |
commit | ef5c01b599c6a6b23b1f3e92736ec67a6e62b55f (patch) | |
tree | 593f9ca6e7b661645f27243619652953b11e8a4f /include/gudhi/Simplex_tree.h | |
parent | c524232f734de875d69e2f190f01a6c976024368 (diff) |
GUDHI 2.3.0 as released by upstream in a tarball.upstream/2.3.0upstream/latest
Diffstat (limited to 'include/gudhi/Simplex_tree.h')
-rw-r--r-- | include/gudhi/Simplex_tree.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gudhi/Simplex_tree.h b/include/gudhi/Simplex_tree.h index ee96d5a2..3ab23c12 100644 --- a/include/gudhi/Simplex_tree.h +++ b/include/gudhi/Simplex_tree.h @@ -1057,7 +1057,10 @@ class Simplex_tree { Dictionary_it next = siblings->members().begin(); ++next; - thread_local std::vector<std::pair<Vertex_handle, Node> > inter; +#ifdef GUDHI_CAN_USE_CXX11_THREAD_LOCAL + thread_local +#endif // GUDHI_CAN_USE_CXX11_THREAD_LOCAL + std::vector<std::pair<Vertex_handle, Node> > inter; for (Dictionary_it s_h = siblings->members().begin(); s_h != siblings->members().end(); ++s_h, ++next) { Simplex_handle root_sh = find_vertex(s_h->first); |