From: Wolfgang Bangerth Date: Wed, 10 Jun 2020 22:43:33 +0000 (-0600) Subject: Make move operation explicit. X-Git-Tag: v9.3.0-rc1~1457^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10473%2Fhead;p=dealii.git Make move operation explicit. --- diff --git a/include/deal.II/base/thread_local_storage.h b/include/deal.II/base/thread_local_storage.h index 0c2a2b5fc4..80e47afb63 100644 --- a/include/deal.II/base/thread_local_storage.h +++ b/include/deal.II/base/thread_local_storage.h @@ -285,7 +285,7 @@ namespace Threads template ThreadLocalStorage::ThreadLocalStorage(ThreadLocalStorage &&t) noexcept - : exemplar(t.exemplar) + : exemplar(std::move(t.exemplar)) { // We are nice and raise the writer lock before copying over internal // data structures from the argument.