diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_gocad_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_gocad_plugin.cpp index dafda3eaf23..bef2a50effe 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_gocad_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_gocad_plugin.cpp @@ -47,9 +47,9 @@ public: } for(size_type i=0; i < mesh.size(); i++){ B.begin_facet(); - B.add_vertex_to_facet( mesh[i].get<0>()); - B.add_vertex_to_facet( mesh[i].get<1>()); - B.add_vertex_to_facet( mesh[i].get<2>()); + B.add_vertex_to_facet( mesh[i].template get<0>()); + B.add_vertex_to_facet( mesh[i].template get<1>()); + B.add_vertex_to_facet( mesh[i].template get<2>()); B.end_facet(); } if(B.error()) diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_stl_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_stl_plugin.cpp index 3804af38c94..05c1eb5ef3e 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_stl_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_stl_plugin.cpp @@ -47,9 +47,9 @@ public: } for(size_type i=0; i < mesh.size(); i++){ B.begin_facet(); - B.add_vertex_to_facet( mesh[i].get<0>()); - B.add_vertex_to_facet( mesh[i].get<1>()); - B.add_vertex_to_facet( mesh[i].get<2>()); + B.add_vertex_to_facet( mesh[i].template get<0>()); + B.add_vertex_to_facet( mesh[i].template get<1>()); + B.add_vertex_to_facet( mesh[i].template get<2>()); B.end_facet(); } if(B.error())