]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Try making MSVC happy
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 6 Jun 2023 00:23:56 +0000 (20:23 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 6 Jun 2023 00:23:56 +0000 (20:23 -0400)
source/base/qprojector.cc

index fe01e2c5ac04ef5cf636dcc6da92b374fe8677c1..95b525c2ba3e308e0b29a08eea588f2291b76b63 100644 (file)
@@ -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<Point<2>> {
-        ArrayView<const Point<2>> vertices(face.first.begin(),
-                                           face.first.size());
+        const Point<2> *          vertices_ptr = face.first.begin();
+        ArrayView<const Point<2>> vertices(vertices_ptr, face.first.size());
         const auto                temp =
           ReferenceCells::Line.permute_by_combined_orientation(vertices,
                                                                orientation);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.