summaryrefslogtreecommitdiff
path: root/src/common/example
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-03-16 08:33:04 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-03-16 08:33:04 +0000
commit298c080b45250f2b8f16a0c31ace9bb6fc666c93 (patch)
treeac0148e4263a7ede53138d2dffdff1327acc7501 /src/common/example
parenta28d3c6ba5ab9687626992cc0402c4399c76ecaf (diff)
CppCheck and CppLint fixes for alpha complexes
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@1047 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a9b42ad2f8751384b5227fa3da8f380cda9b3696
Diffstat (limited to 'src/common/example')
-rw-r--r--src/common/example/Delaunay_triangulation_off_rw.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/example/Delaunay_triangulation_off_rw.cpp b/src/common/example/Delaunay_triangulation_off_rw.cpp
index 75e4fafb..4c7a9aaf 100644
--- a/src/common/example/Delaunay_triangulation_off_rw.cpp
+++ b/src/common/example/Delaunay_triangulation_off_rw.cpp
@@ -10,12 +10,12 @@
// Use dynamic_dimension_tag for the user to be able to set dimension
typedef CGAL::Epick_d< CGAL::Dynamic_dimension_tag > K;
typedef CGAL::Delaunay_triangulation<K> T;
-// The triangulation uses the default instantiation of the
+// The triangulation uses the default instantiation of the
// TriangulationDataStructure template parameter
void usage(char * const progName) {
std::cerr << "Usage: " << progName << " inputFile.off outputFile.off" << std::endl;
- exit(-1); // ----- >>
+ exit(-1);
}
int main(int argc, char **argv) {
@@ -30,9 +30,9 @@ int main(int argc, char **argv) {
// Check the read operation was correct
if (!off_reader.is_valid()) {
std::cerr << "Unable to read file " << offInputFile << std::endl;
- exit(-1); // ----- >>
+ exit(-1);
}
-
+
// Retrieve the triangulation
T* triangulation = off_reader.get_complex();
// Operations on triangulation
@@ -47,8 +47,8 @@ int main(int argc, char **argv) {
// Check the write operation was correct
if (!off_writer.is_valid()) {
std::cerr << "Unable to write file " << offOutputFile << std::endl;
- exit(-1); // ----- >>
+ exit(-1);
}
-
+
return 0;
-} \ No newline at end of file
+}