diff options
author | skachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-02-01 10:01:47 +0000 |
---|---|---|
committer | skachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-02-01 10:01:47 +0000 |
commit | d563e5184b10c49aaf61b17fc9f7a04e36db1836 (patch) | |
tree | fe57f75556fb99f2cdf02add921ff390f4a874c1 /src/Witness_complex/include/gudhi/Strong_witness_complex.h | |
parent | a63c390725163a69943a0f144f78659debb8ae09 (diff) |
Added std::begin and end
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/relaxed-witness@2039 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 7b1c85ff29b26fb1d0ffbac8f0b2e1f47166f466
Diffstat (limited to 'src/Witness_complex/include/gudhi/Strong_witness_complex.h')
-rw-r--r-- | src/Witness_complex/include/gudhi/Strong_witness_complex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Witness_complex/include/gudhi/Strong_witness_complex.h b/src/Witness_complex/include/gudhi/Strong_witness_complex.h index aae1bb43..ca1c4db8 100644 --- a/src/Witness_complex/include/gudhi/Strong_witness_complex.h +++ b/src/Witness_complex/include/gudhi/Strong_witness_complex.h @@ -80,7 +80,7 @@ private: * 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<std::size_t, double>'. */ Strong_witness_complex(Nearest_landmark_table_ const & nearest_landmark_table) - : nearest_landmark_table_(nearest_landmark_table) + : nearest_landmark_table_(std::begin(nearest_landmark_table), std::end(nearest_landmark_table)) { } |