From be1f69f445fffb30ee5eccb6debaff3452f97576 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 18 May 2022 17:47:29 +0200 Subject: Documentation: Warning about return statement When running doxygen over the sources we get the warnings like: ``` .../gudhi-devel/src/Skeleton_blocker/include/gudhi/Skeleton_blocker_complex.h:1073: warning: found documented return type for Gudhi::skeleton_blocker::Skeleton_blocker_complex::remove_popable_blockers that does not return anything ``` The functions are `void` functions so should not have a return value. --- src/Skeleton_blocker/include/gudhi/Skeleton_blocker_complex.h | 2 -- .../include/gudhi/Skeleton_blocker_simplifiable_complex.h | 2 -- 2 files changed, 4 deletions(-) mode change 100644 => 100755 src/Skeleton_blocker/include/gudhi/Skeleton_blocker_simplifiable_complex.h (limited to 'src') diff --git a/src/Skeleton_blocker/include/gudhi/Skeleton_blocker_complex.h b/src/Skeleton_blocker/include/gudhi/Skeleton_blocker_complex.h index 125c6387..031bcb9c 100644 --- a/src/Skeleton_blocker/include/gudhi/Skeleton_blocker_complex.h +++ b/src/Skeleton_blocker/include/gudhi/Skeleton_blocker_complex.h @@ -1071,7 +1071,6 @@ class Skeleton_blocker_complex { /** * Removes all the popable blockers of the complex and delete them. - * @returns the number of popable blockers deleted */ void remove_popable_blockers(); @@ -1103,7 +1102,6 @@ class Skeleton_blocker_complex { public: /** * Remove the star of the edge connecting vertices a and b. - * @returns the number of blocker that have been removed */ void remove_star(Vertex_handle a, Vertex_handle b); diff --git a/src/Skeleton_blocker/include/gudhi/Skeleton_blocker_simplifiable_complex.h b/src/Skeleton_blocker/include/gudhi/Skeleton_blocker_simplifiable_complex.h old mode 100644 new mode 100755 index 404f04f9..5db9c2fd --- a/src/Skeleton_blocker/include/gudhi/Skeleton_blocker_simplifiable_complex.h +++ b/src/Skeleton_blocker/include/gudhi/Skeleton_blocker_simplifiable_complex.h @@ -39,7 +39,6 @@ bool Skeleton_blocker_complex::is_popable_blocker(Blocker_han /** * Removes all the popable blockers of the complex and delete them. - * @returns the number of popable blockers deleted */ template void Skeleton_blocker_complex::remove_popable_blockers() { @@ -160,7 +159,6 @@ void Skeleton_blocker_complex::update_blockers_after_remove_s /** * Remove the star of the edge connecting vertices a and b. - * @returns the number of blocker that have been removed */ template void Skeleton_blocker_complex::remove_star(Vertex_handle a, Vertex_handle b) { -- cgit v1.2.3