From: Martin Kronbichler Date: Wed, 27 Nov 2024 10:16:28 +0000 (+0100) Subject: MemorySpace data: Also swap sm pointer X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a41b92e2643ab0290392b788c50781853bfc112;p=dealii.git MemorySpace data: Also swap sm pointer --- diff --git a/include/deal.II/base/memory_space_data.h b/include/deal.II/base/memory_space_data.h index ace1182b85..2dfe066907 100644 --- a/include/deal.II/base/memory_space_data.h +++ b/include/deal.II/base/memory_space_data.h @@ -175,6 +175,7 @@ namespace MemorySpace std::swap(u.values_host_buffer, v.values_host_buffer); std::swap(u.values, v.values); std::swap(u.values_sm_ptr, v.values_sm_ptr); + std::swap(u.values_sm, v.values_sm); } #endif