From 2780dd96e3e2150e1baf17b0d4833457b314eddf Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 5 Jun 2023 20:23:56 -0400 Subject: [PATCH] Try making MSVC happy --- source/base/qprojector.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5