diff options
author | glisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-10-02 11:09:47 +0000 |
---|---|---|
committer | glisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-10-02 11:09:47 +0000 |
commit | cae07e49a1700613bf709f7d0bbf3d1c640d4a2c (patch) | |
tree | 8624f4f285bc4c52c1e79fefc43fc5999fd6ae14 | |
parent | c279cfdad04340d8844466a688d60a66786392c9 (diff) |
Catch exception by const&
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@3922 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 1b0cea99516d6b42e5ab3b0fdb21468b321e6d6c
-rw-r--r-- | src/cython/include/Alpha_complex_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cython/include/Alpha_complex_interface.h b/src/cython/include/Alpha_complex_interface.h index 8cf527fc..faa059d1 100644 --- a/src/cython/include/Alpha_complex_interface.h +++ b/src/cython/include/Alpha_complex_interface.h @@ -60,7 +60,7 @@ class Alpha_complex_interface { Point_d ph = alpha_complex_->get_point(vh); for (auto coord = ph.cartesian_begin(); coord < ph.cartesian_end(); coord++) vd.push_back(*coord); - } catch (std::out_of_range outofrange) { + } catch (std::out_of_range const&) { // std::out_of_range is thrown in case not found. Other exceptions must be re-thrown } return vd; |