From: Daniel Arndt Date: Tue, 6 Jun 2023 00:23:56 +0000 (-0400) Subject: Try making MSVC happy X-Git-Tag: v9.5.0-rc1~151^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2780dd96e3e2150e1baf17b0d4833457b314eddf;p=dealii.git Try making MSVC happy --- diff --git a/source/base/qprojector.cc b/source/base/qprojector.cc index fe01e2c5ac..95b525c2ba 100644 --- a/source/base/qprojector.cc +++ b/source/base/qprojector.cc @@ -769,8 +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> { - ArrayView> vertices(face.first.begin(), - face.first.size()); + const Point<2> * vertices_ptr = face.first.begin(); + ArrayView> vertices(vertices_ptr, face.first.size()); const auto temp = ReferenceCells::Line.permute_by_combined_orientation(vertices, orientation);