From b3060b07620833d36519379acefd98c490bc4de1 Mon Sep 17 00:00:00 2001 From: glisse Date: Sat, 2 Dec 2017 15:54:26 +0000 Subject: Don't return 'const int', that's equivalent to int and causes a warning. git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/misc-glisse@3018 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: bbefd89e01293f0d34645979318d745b683cd769 --- src/Alpha_complex/include/gudhi/Alpha_complex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex.h b/src/Alpha_complex/include/gudhi/Alpha_complex.h index 5f7d7622..63c6675c 100644 --- a/src/Alpha_complex/include/gudhi/Alpha_complex.h +++ b/src/Alpha_complex/include/gudhi/Alpha_complex.h @@ -175,7 +175,7 @@ class Alpha_complex { * * @return The number of vertices. */ - const std::size_t number_of_vertices() const { + std::size_t number_of_vertices() const { return vertex_handle_to_iterator_.size(); } -- cgit v1.2.3