From 640c41e6e8895e63c68ffd9e59e12e64a3ac2ba9 Mon Sep 17 00:00:00 2001 From: salinasd Date: Wed, 17 Dec 2014 11:40:17 +0000 Subject: Namespace problem -> Persistent_cohomology should not be friend of Simplex_tree git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@366 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 94e6de54c7209c091482a7325acbbf24727fdfc2 --- src/Simplex_tree/include/gudhi/Simplex_tree.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/Simplex_tree/include') diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h index 2417313e..5da39729 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h @@ -37,6 +37,10 @@ #include namespace Gudhi { + +namespace persistent_cohomology{ + template class Persistent_cohomology; + } /** \defgroup simplex_tree Filtered Complexes * @@ -116,8 +120,9 @@ class Simplex_tree { friend class Simplex_tree_complex_simplex_iterator< Simplex_tree >; friend class Simplex_tree_skeleton_simplex_iterator< Simplex_tree >; - template friend class Persistent_cohomology; - + + template friend class persistent_cohomology::Persistent_cohomology; + /* \brief Set of nodes sharing a same parent in the simplex tree. */ typedef Simplex_tree_siblings Siblings; -- cgit v1.2.3