From: Daniel Arndt Date: Tue, 6 Jun 2023 14:14:23 +0000 (-0400) Subject: Another try for MSVC X-Git-Tag: v9.5.0-rc1~151^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15308%2Fhead;p=dealii.git Another try for MSVC --- diff --git a/source/base/qprojector.cc b/source/base/qprojector.cc index 95b525c2ba..1acd7c7f01 100644 --- a/source/base/qprojector.cc +++ b/source/base/qprojector.cc @@ -769,7 +769,8 @@ QProjector<2>::project_to_all_faces(const ReferenceCell & reference_cell, { const auto support_points_line = [](const auto &face, const auto &orientation) -> std::vector> { - const Point<2> * vertices_ptr = face.first.begin(); + // MSVC struggles when using face.first.begin() + const Point<2, double> * vertices_ptr = &face.first[0]; ArrayView> vertices(vertices_ptr, face.first.size()); const auto temp = ReferenceCells::Line.permute_by_combined_orientation(vertices,