From: Simon Sticko Date: Fri, 28 May 2021 09:42:10 +0000 (+0200) Subject: Remove noexcept on DoFAccessor move constructor and assignment operator X-Git-Tag: v9.3.0~6^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c8ccc2c25083fd49cc52985607cc042d936a296;p=dealii.git Remove noexcept on DoFAccessor move constructor and assignment operator To avoid a compilation error with clang 6.0.0 --- diff --git a/include/deal.II/dofs/dof_accessor.h b/include/deal.II/dofs/dof_accessor.h index 494facc68d..a011cda7da 100644 --- a/include/deal.II/dofs/dof_accessor.h +++ b/include/deal.II/dofs/dof_accessor.h @@ -277,8 +277,9 @@ public: /** * Move constructor. */ - DoFAccessor(DoFAccessor - &&) noexcept = default; + DoFAccessor( // NOLINT + DoFAccessor &&) = // NOLINT + default; // NOLINT /** * Destructor. @@ -330,9 +331,10 @@ public: /** * Move assignment operator. */ - DoFAccessor & - operator=(DoFAccessor - &&) noexcept = default; + DoFAccessor & // NOLINT + operator=( // NOLINT + DoFAccessor &&) = // NOLINT + default; // NOLINT /** * @} @@ -1455,9 +1457,9 @@ public: /** * Move constructor. */ - DoFCellAccessor( - DoFCellAccessor - &&) noexcept = default; + DoFCellAccessor( // NOLINT + DoFCellAccessor // NOLINT + &&) = default; // NOLINT /** * Destructor @@ -1481,9 +1483,10 @@ public: /** * Move assignment operator. */ - DoFCellAccessor & - operator=(DoFCellAccessor - &&) noexcept = default; + DoFCellAccessor & // NOLINT + operator=( // NOLINT + DoFCellAccessor // NOLINT + &&) = default; // NOLINT /** * @}