From: Wolfgang Bangerth Date: Tue, 30 Nov 2021 03:25:24 +0000 (-0700) Subject: Use a simpler way to clear a vector. X-Git-Tag: v9.4.0-rc1~787^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09c3e307ae5d34b71f9bfa55435adb084c5c1304;p=dealii.git Use a simpler way to clear a vector. --- diff --git a/include/deal.II/matrix_free/face_info.h b/include/deal.II/matrix_free/face_info.h index 9e8a1b0e97..5c23961f02 100644 --- a/include/deal.II/matrix_free/face_info.h +++ b/include/deal.II/matrix_free/face_info.h @@ -142,7 +142,7 @@ namespace internal void clear() { - faces = std::vector>(); + faces.clear(); cell_and_face_to_plain_faces.reinit(TableIndices<3>(0, 0, 0)); cell_and_face_boundary_id.reinit(TableIndices<3>(0, 0, 0)); }