summaryrefslogtreecommitdiff
path: root/src/common/example
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-01-20 14:12:04 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-01-20 14:12:04 +0000
commitcbf1a50068a2c5dea6d732d40dfc66d34460d863 (patch)
treeac9b7fe3d89c1f98582c4355e9cdc53da893aea2 /src/common/example
parentaa06a8774e45500718dd6bf0259b328a720fedd1 (diff)
parenta5326d01abe8968a23c42084ce75da88fad58f59 (diff)
Merge bottleneck_misc_fixes branch to fix bottleneck cpplint issue and doxygen warning
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@1974 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a8704c1ff42c8e0f78ba2e70d83b71c91b3274a0
Diffstat (limited to 'src/common/example')
-rw-r--r--src/common/example/example_CGAL_3D_points_off_reader.cpp2
-rw-r--r--src/common/example/example_CGAL_points_off_reader.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/example/example_CGAL_3D_points_off_reader.cpp b/src/common/example/example_CGAL_3D_points_off_reader.cpp
index d48bb17d..665b7a29 100644
--- a/src/common/example/example_CGAL_3D_points_off_reader.cpp
+++ b/src/common/example/example_CGAL_3D_points_off_reader.cpp
@@ -32,7 +32,7 @@ int main(int argc, char **argv) {
// Retrieve the triangulation
std::vector<Point_3> point_cloud = off_reader.get_point_cloud();
- int n {0};
+ int n {};
for (auto point : point_cloud) {
++n;
std::cout << "Point[" << n << "] = (" << point[0] << ", " << point[1] << ", " << point[2] << ")\n";
diff --git a/src/common/example/example_CGAL_points_off_reader.cpp b/src/common/example/example_CGAL_points_off_reader.cpp
index 4522174a..8c6a6b54 100644
--- a/src/common/example/example_CGAL_points_off_reader.cpp
+++ b/src/common/example/example_CGAL_points_off_reader.cpp
@@ -34,7 +34,7 @@ int main(int argc, char **argv) {
// Retrieve the triangulation
std::vector<Point_d> point_cloud = off_reader.get_point_cloud();
- int n {0};
+ int n {};
for (auto point : point_cloud) {
std::cout << "Point[" << n << "] = ";
for (std::size_t i {0}; i < point.size(); i++)