From 5887acc1b4cd6b6ac4660eba14c9d5ee7f4e71ea Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Mon, 31 Mar 2014 20:56:41 +0200 Subject: [PATCH] typename only for dependent nested types. --- Triangulation/include/CGAL/Triangulation_ds_full_cell.h | 6 +++--- Triangulation/include/CGAL/Triangulation_ds_vertex.h | 2 +- Triangulation/include/CGAL/Triangulation_face.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Triangulation/include/CGAL/Triangulation_ds_full_cell.h b/Triangulation/include/CGAL/Triangulation_ds_full_cell.h index 8221bacb620..c18942e631e 100644 --- a/Triangulation/include/CGAL/Triangulation_ds_full_cell.h +++ b/Triangulation/include/CGAL/Triangulation_ds_full_cell.h @@ -36,7 +36,7 @@ class Triangulation_ds_full_cell typedef typename TDS::Maximal_dimension Maximal_dimension; public: - typedef typename TDS Triangulation_data_structure; + typedef TDS Triangulation_data_structure; typedef typename TDS::Face Face; typedef typename TDS::Vertex_handle Vertex_handle; /* Concept */ typedef typename TDS::Vertex_const_handle Vertex_const_handle; @@ -288,13 +288,13 @@ class Triangulation_ds_full_cell { public: typedef internal::Triangulation::Dummy_TDS TDS; - typedef typename TDS Triangulation_data_structure; + typedef TDS Triangulation_data_structure; typedef TDS::Vertex_handle Vertex_handle; typedef TDS::Vertex_const_handle Vertex_const_handle; typedef TDS::Full_cell_handle Full_cell_handle; typedef TDS::Full_cell_const_handle Full_cell_const_handle; typedef TDS::Vertex_handle_const_iterator Vertex_handle_const_iterator; - typedef typename TDS::Full_cell_data TDS_data; + typedef TDS::Full_cell_data TDS_data; template struct Rebind_TDS { diff --git a/Triangulation/include/CGAL/Triangulation_ds_vertex.h b/Triangulation/include/CGAL/Triangulation_ds_vertex.h index 3bd78745ff7..642745c6129 100644 --- a/Triangulation/include/CGAL/Triangulation_ds_vertex.h +++ b/Triangulation/include/CGAL/Triangulation_ds_vertex.h @@ -33,7 +33,7 @@ class Triangulation_ds_vertex typedef Triangulation_ds_vertex Self; public: - typedef typename TDS Triangulation_data_structure; + typedef TDS Triangulation_data_structure; typedef typename TDS::Full_cell_handle Full_cell_handle; /* Concept */ template diff --git a/Triangulation/include/CGAL/Triangulation_face.h b/Triangulation/include/CGAL/Triangulation_face.h index d8809e1b7b3..78685c40b3f 100644 --- a/Triangulation/include/CGAL/Triangulation_face.h +++ b/Triangulation/include/CGAL/Triangulation_face.h @@ -28,7 +28,7 @@ class Triangulation_face { typedef typename internal::Dimen_plus_one::type Dimen_plus; public: - typedef typename TDS Triangulation_data_structure; + typedef TDS Triangulation_data_structure; typedef typename TDS::Full_cell_handle Full_cell_handle; /* Concept */ typedef typename TDS::Vertex_handle Vertex_handle; /* Concept */ typedef internal::S_or_D_array Indices;