From 9de97dffe667201985f8fc0c478dc3b75042299f Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Mon, 6 Feb 2017 11:07:43 +0100 Subject: [PATCH] remove extra typename's (cause compilation error on msvc) --- Polyhedron/demo/Polyhedron/Scene_c3t3_item.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Polyhedron/demo/Polyhedron/Scene_c3t3_item.cpp b/Polyhedron/demo/Polyhedron/Scene_c3t3_item.cpp index f7fd96c3d5a..8a350ea62f4 100644 --- a/Polyhedron/demo/Polyhedron/Scene_c3t3_item.cpp +++ b/Polyhedron/demo/Polyhedron/Scene_c3t3_item.cpp @@ -1810,12 +1810,12 @@ QString Scene_c3t3_item::computeStats(int type) } } - typedef typename C3t3::Triangulation::Point Point_3; - typename Kernel::Compute_approximate_dihedral_angle_3 approx_dihedral_angle + typedef C3t3::Triangulation::Point Point_3; + Kernel::Compute_approximate_dihedral_angle_3 approx_dihedral_angle = Kernel().compute_approximate_dihedral_angle_3_object(); QVector sub_ids; - for (typename C3t3::Cells_in_complex_iterator cit = d->c3t3.cells_in_complex_begin(); + for (C3t3::Cells_in_complex_iterator cit = d->c3t3.cells_in_complex_begin(); cit != d->c3t3.cells_in_complex_end(); ++cit) {