From fc9f154ac19201cdb3eca7af28dacf779512211f Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 11 Jun 2026 09:40:06 -0400 Subject: [PATCH] Modify Lattice move constructor to be noexcept Add noexcept specifier to move constructor for Lattice class. --- Grid/lattice/Lattice_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grid/lattice/Lattice_base.h b/Grid/lattice/Lattice_base.h index 7044f4a6..d9d077d4 100644 --- a/Grid/lattice/Lattice_base.h +++ b/Grid/lattice/Lattice_base.h @@ -289,7 +289,7 @@ public: /////////////////////////////////////////// // move constructor /////////////////////////////////////////// - Lattice(Lattice && r){ + Lattice(Lattice && r) noexcept { this->_grid = r.Grid(); this->_odata = r._odata; this->_odata_size = r._odata_size;