From 5a4adcab18b7a577706cae7abfddc52a5cf8f1c5 Mon Sep 17 00:00:00 2001 From: skachano Date: Mon, 30 Jan 2017 12:44:11 +0000 Subject: Added the consts to Nearest_landmark_table_ parameters following the comment by Marc git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/relaxed-witness@2027 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 44f5e50e3d21baa0ec70aef022a1394bcc35b7d2 --- src/Witness_complex/include/gudhi/Strong_witness_complex.h | 2 +- src/Witness_complex/include/gudhi/Witness_complex.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Witness_complex/include/gudhi/Strong_witness_complex.h b/src/Witness_complex/include/gudhi/Strong_witness_complex.h index f9d1d681..aae1bb43 100644 --- a/src/Witness_complex/include/gudhi/Strong_witness_complex.h +++ b/src/Witness_complex/include/gudhi/Strong_witness_complex.h @@ -79,7 +79,7 @@ private: * @param[in] nearest_landmark_table needs to be a range of a range of nearest landmarks. * The range of nearest landmarks should admit a member type 'iterator'. The dereference type * of the nearest landmark range iterator needs to be 'std::pair'. */ - Strong_witness_complex(Nearest_landmark_table_ & nearest_landmark_table) + Strong_witness_complex(Nearest_landmark_table_ const & nearest_landmark_table) : nearest_landmark_table_(nearest_landmark_table) { } diff --git a/src/Witness_complex/include/gudhi/Witness_complex.h b/src/Witness_complex/include/gudhi/Witness_complex.h index 33c6c5d2..6741acde 100644 --- a/src/Witness_complex/include/gudhi/Witness_complex.h +++ b/src/Witness_complex/include/gudhi/Witness_complex.h @@ -81,7 +81,7 @@ private: * of the nearest landmark range iterator needs to be 'std::pair'. */ - Witness_complex(Nearest_landmark_table_ & nearest_landmark_table) + Witness_complex(Nearest_landmark_table_ const & nearest_landmark_table) : nearest_landmark_table_(nearest_landmark_table) { } -- cgit v1.2.3