mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-25 15:13:19 +00:00
Modify Lattice move constructor to be noexcept
Add noexcept specifier to move constructor for Lattice class.
This commit is contained in:
1 parent
4aa0bca4dc
commit
fc9f154ac1
1 file changed
+1
-1
@@ -289,7 +289,7 @@ public:
|
|||||||
///////////////////////////////////////////
|
///////////////////////////////////////////
|
||||||
// move constructor
|
// move constructor
|
||||||
///////////////////////////////////////////
|
///////////////////////////////////////////
|
||||||
Lattice(Lattice && r){
|
Lattice(Lattice && r) noexcept {
|
||||||
this->_grid = r.Grid();
|
this->_grid = r.Grid();
|
||||||
this->_odata = r._odata;
|
this->_odata = r._odata;
|
||||||
this->_odata_size = r._odata_size;
|
this->_odata_size = r._odata_size;
|
||||||
|
|||||||
Reference in new issue
Block a user